From 4ce43fd5e6dd2128dc15ffc8799f90fec00b92a4 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 5 Nov 2015 16:40:18 +0100 Subject: [PATCH] device: don't call into rdisc when there's none --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 3d4245ee67..89b7854dbc 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -7877,7 +7877,7 @@ queued_ip6_config_change (gpointer user_data) if (IN6_IS_ADDR_LINKLOCAL (&addr->address)) need_ipv6ll = TRUE; - else + else if (priv->rdisc) nm_rdisc_dad_failed (priv->rdisc, &addr->address); } g_slist_free_full (priv->dad6_failed_addrs, g_free);