summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp.c')
-rw-r--r--src/dhcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index b391ddf6..ab8ee5a0 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -101,6 +101,8 @@ static void dhcp_invalidate(struct connman_dhcp *dhcp, connman_bool_t callback)
dhcp->nameservers[i]);
}
+ __connman_ipconfig_address_remove(ipconfig);
+
__connman_ipconfig_set_local(ipconfig, NULL);
__connman_ipconfig_set_broadcast(ipconfig, NULL);
__connman_ipconfig_set_gateway(ipconfig, NULL);