diff options
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
-rw-r--r-- | lib/efi_loader/efi_device_path.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index 5eae6fd39cc..c0633a736b6 100644 --- a/lib/efi_loader/efi_device_path.c +++ b/lib/efi_loader/efi_device_path.c @@ -1056,8 +1056,7 @@ struct efi_device_path *efi_dp_from_http(const char *server) if (server) { strlcat(tmp, server, sizeof(tmp)); #if !IS_ENABLED(CONFIG_NET_LWIP) - } - else { + } else { ip_to_string(net_server_ip, tmp + strlen("http://")); #endif } |