projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98844b8
)
Set the IPv4 method to DHCP in case of DHCP udpates
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 9 Jan 2008 16:02:17 +0000
(17:02 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 9 Jan 2008 16:02:17 +0000
(17:02 +0100)
src/dhcp.c
patch
|
blob
|
history
diff --git
a/src/dhcp.c
b/src/dhcp.c
index
2fa3f1f
..
3613224
100644
(file)
--- 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;