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