]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We should expire instead of stop as we will start again.
authorRoy Marples <roy@marples.name>
Fri, 20 Feb 2009 07:29:13 +0000 (07:29 +0000)
committerRoy Marples <roy@marples.name>
Fri, 20 Feb 2009 07:29:13 +0000 (07:29 +0000)
dhcpcd.c

index 417146b1f47a4b0af367c54bea7c8b1cd196281e..58b0506188aa291d4d61ec3cd02c204975a0fb1e 100644 (file)
--- 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);