From 56cf1fc63cdc201587b0bf7e1e06902acb090d6c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 9 Jan 2008 17:02:17 +0100 Subject: [PATCH] Set the IPv4 method to DHCP in case of DHCP udpates --- src/dhcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dhcp.c b/src/dhcp.c index 2fa3f1f..3613224 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -61,6 +61,8 @@ int connman_dhcp_update(struct connman_iface *iface, DBG("broadcast %s", inet_ntoa(ipv4->broadcast)); DBG("nameserver %s", inet_ntoa(ipv4->nameserver)); + ipv4->method = CONNMAN_IPV4_METHOD_DHCP; + if (iface->driver->set_ipv4) { iface->driver->set_ipv4(iface, ipv4); iface->ipv4 = *ipv4; -- 2.7.4