summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device-vlan.c')
-rw-r--r--src/devices/nm-device-vlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/nm-device-vlan.c b/src/devices/nm-device-vlan.c
index 2c48f5b2f7..ac8808c918 100644
--- a/src/devices/nm-device-vlan.c
+++ b/src/devices/nm-device-vlan.c
@@ -115,7 +115,8 @@ parent_hwaddr_changed (NMDevice *parent,
* removing the IPv6 configuration; reapply it.
*/
s_ip6 = nm_connection_get_setting_ip6_config (connection);
- nm_device_reactivate_ip6_config (NM_DEVICE (self), s_ip6, s_ip6);
+ if (s_ip6)
+ nm_device_reactivate_ip6_config (NM_DEVICE (self), s_ip6, s_ip6);
}
}
}