summaryrefslogtreecommitdiff
path: root/src/devices/nm-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device.c')
-rw-r--r--src/devices/nm-device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index d1f059abd8..8bc98d6155 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -3545,7 +3545,8 @@ ndisc_set_router_config (NMNDisc *ndisc, NMDevice *self)
guint32 lifetime, preferred;
gint32 base;
- if (IN6_IS_ADDR_LINKLOCAL (&addr->address))
+ if ( IN6_IS_ADDR_UNSPECIFIED (&addr->address)
+ || IN6_IS_ADDR_LINKLOCAL (&addr->address))
continue;
if ( addr->n_ifa_flags & IFA_F_TENTATIVE