summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/nm-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 63fa5a5cc9..59b692a1df 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -10934,8 +10934,11 @@ act_stage3_ip_config_start (NMDevice *self,
platform = nm_device_get_platform (self);
if (ifindex > 0) {
+ gs_unref_object NMIP6Config *config = nm_device_ip6_config_new (self);
+
nm_platform_ip_route_flush (platform, AF_INET6, ifindex);
nm_platform_ip_address_flush (platform, AF_INET6, ifindex);
+ nm_device_set_ip_config (self, AF_INET6, (NMIPConfig *) config, FALSE, NULL);
}
} else {
gboolean ipv6ll_handle_old = priv->ipv6ll_handle;