summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-12-25 09:27:23 +0100
committerMarcel Holtmann <marcel@holtmann.org>2007-12-25 09:27:23 +0100
commit1f883743506f40054c29b33021948cdb4e765ba6 (patch)
tree6e108a45532829b5d89e6a93b6e000c77d564da2 /src/dhcp.c
parente1ec0cf683d35746dd4e94abfab6ad5aa2de10fe (diff)
downloadconnman-1f883743506f40054c29b33021948cdb4e765ba6.tar.gz
connman-1f883743506f40054c29b33021948cdb4e765ba6.tar.bz2
connman-1f883743506f40054c29b33021948cdb4e765ba6.zip
Add interface index and state variables
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 8af6dab3..b4e921e3 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -65,6 +65,8 @@ int connman_dhcp_update(struct connman_iface *iface,
iface->driver->set_ipv4(iface, ipv4);
iface->ipv4 = *ipv4;
}
+
+ connman_iface_update(iface, CONNMAN_IFACE_STATE_READY);
}
return 0;