diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-01-09 17:02:17 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-01-09 17:02:17 +0100 |
commit | 56cf1fc63cdc201587b0bf7e1e06902acb090d6c (patch) | |
tree | 12ac332bb0306230195b0ad17c65c910957630f5 /src/dhcp.c | |
parent | 98844b88980e2001ae3d8cd10f99d8ae9ac32b75 (diff) | |
download | connman-56cf1fc63cdc201587b0bf7e1e06902acb090d6c.tar.gz connman-56cf1fc63cdc201587b0bf7e1e06902acb090d6c.tar.bz2 connman-56cf1fc63cdc201587b0bf7e1e06902acb090d6c.zip |
Set the IPv4 method to DHCP in case of DHCP udpates
Diffstat (limited to 'src/dhcp.c')
-rw-r--r-- | src/dhcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |