Blame SOURCES/0254-Put-back-our-code-to-add-a-local-route.patch

f731ee
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f731ee
From: Peter Jones <pjones@redhat.com>
f731ee
Date: Thu, 21 Jun 2018 18:32:26 -0400
f731ee
Subject: [PATCH] Put back our code to add a local route.
f731ee
f731ee
This was removed by the previous patch.
f731ee
f731ee
Signed-off-by: Peter Jones <pjones@redhat.com>
f731ee
---
f731ee
 grub-core/net/bootp.c | 5 +++++
f731ee
 1 file changed, 5 insertions(+)
f731ee
f731ee
diff --git a/grub-core/net/bootp.c b/grub-core/net/bootp.c
f731ee
index 26b3d83d0bc..dd4660601e2 100644
f731ee
--- a/grub-core/net/bootp.c
f731ee
+++ b/grub-core/net/bootp.c
f731ee
@@ -972,6 +972,7 @@ grub_net_configure_by_dhcpv6_reply (const char *name,
f731ee
 {
f731ee
   struct grub_net_network_level_interface *inf;
f731ee
   grub_dhcp6_options_t dhcp6;
f731ee
+  int mask = -1;
f731ee
 
f731ee
   dhcp6 = grub_dhcp6_options_get (v6h, size);
f731ee
   if (!dhcp6)
f731ee
@@ -1003,6 +1004,10 @@ grub_net_configure_by_dhcpv6_reply (const char *name,
f731ee
     }
f731ee
 
f731ee
   grub_dhcp6_options_free (dhcp6);
f731ee
+
f731ee
+  if (inf)
f731ee
+    grub_net_add_ipv6_local (inf, mask);
f731ee
+
f731ee
   return inf;
f731ee
 }
f731ee