summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-20 07:29:13 +0000
committerRoy Marples <roy@marples.name>2009-02-20 07:29:13 +0000
commit62b44b40217d4e6b7e8b2b555b1e284713de2dd0 (patch)
tree44db8829773c612133e6e55e82598d75301cc7f0
parent8e96267bac58a9d37c5a7cb0ebbf7ad0e120db34 (diff)
downloaddhcpcd-62b44b40217d4e6b7e8b2b555b1e284713de2dd0.tar.xz
We should expire instead of stop as we will start again.
-rw-r--r--dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 417146b1..58b05061 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -318,7 +318,7 @@ send_message(struct interface *iface, int type,
* Or we could be configured not to look at them or it's a
* buggy driver. Either way, we need to drop everything
* and start over. */
- drop_config(iface, "STOP");
+ drop_config(iface, "EXPIRE");
close_sockets(iface);
delete_timeout(NULL, iface);
add_timeout_sec(DHCP_ARP_FAIL, start_interface, iface);