]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Set the interval to 0 when carrier comes up.
authorRoy Marples <roy@marples.name>
Mon, 2 Mar 2009 23:24:34 +0000 (23:24 +0000)
committerRoy Marples <roy@marples.name>
Mon, 2 Mar 2009 23:24:34 +0000 (23:24 +0000)
dhcpcd.c

index a36a49932645d93e34d4be163976746aa5a8fb5d..327aa9354827e3604cb8fbd0d0ee74d6dc179d9e 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -770,6 +770,7 @@ handle_carrier(const char *ifname)
                                        configure_interface(iface, margc, margv);
                                }
                        }
+                       iface->state->interval = 0;
                        iface->state->reason = "CARRIER";
                        run_script(iface);
                        start_interface(iface);