summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipconfig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 3cb0d9bb..7fba53bf 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -396,6 +396,9 @@ static void __connman_ipconfig_lower_up(struct connman_ipdevice *ipdevice)
ipdevice->config_ipv6->enabled == TRUE)
return;
+ if (ipdevice->ifname == NULL)
+ return;
+
if (__connman_device_isfiltered(ipdevice->ifname) == FALSE) {
ipdevice->ipv6_enabled = get_ipv6_state(ipdevice->ifname);
set_ipv6_state(ipdevice->ifname, FALSE);