Blame SOURCES/0214-efinet-also-use-the-firmware-acceleration-for-http.patch
|
|
8631a2 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
8631a2 |
From: Peter Jones <pjones@redhat.com>
|
|
|
8631a2 |
Date: Mon, 30 Jul 2018 14:06:42 -0400
|
|
|
8631a2 |
Subject: [PATCH] efinet: also use the firmware acceleration for http
|
|
|
8631a2 |
|
|
|
8631a2 |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
8631a2 |
---
|
|
|
8631a2 |
grub-core/net/efi/net.c | 4 +++-
|
|
|
8631a2 |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
8631a2 |
|
|
|
8631a2 |
diff --git a/grub-core/net/efi/net.c b/grub-core/net/efi/net.c
|
|
|
09e3cc |
index 2bf15447f..f208d1b18 100644
|
|
|
8631a2 |
--- a/grub-core/net/efi/net.c
|
|
|
8631a2 |
+++ b/grub-core/net/efi/net.c
|
|
|
8631a2 |
@@ -1324,7 +1324,9 @@ grub_efi_net_boot_from_https (void)
|
|
|
8631a2 |
&& (subtype == GRUB_EFI_URI_DEVICE_PATH_SUBTYPE))
|
|
|
8631a2 |
{
|
|
|
8631a2 |
grub_efi_uri_device_path_t *uri_dp = (grub_efi_uri_device_path_t *) dp;
|
|
|
8631a2 |
- return (grub_strncmp ((const char*)uri_dp->uri, "https://", sizeof ("https://") - 1) == 0) ? 1 : 0;
|
|
|
8631a2 |
+ grub_dprintf ("efinet", "url:%s\n", (const char *)uri_dp->uri);
|
|
|
8631a2 |
+ return (grub_strncmp ((const char *)uri_dp->uri, "https://", sizeof ("https://") - 1) == 0 ||
|
|
|
8631a2 |
+ grub_strncmp ((const char *)uri_dp->uri, "http://", sizeof ("http://") - 1) == 0);
|
|
|
8631a2 |
}
|
|
|
8631a2 |
|
|
|
8631a2 |
if (GRUB_EFI_END_ENTIRE_DEVICE_PATH (dp))
|