From: Roy Marples Date: Mon, 2 Mar 2009 23:24:34 +0000 (+0000) Subject: Set the interval to 0 when carrier comes up. X-Git-Tag: v5.0.0~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ffa23aeb6deed59311ea6fd3efd09a6cc3c8ef3;p=thirdparty%2Fdhcpcd.git Set the interval to 0 when carrier comes up. --- diff --git a/dhcpcd.c b/dhcpcd.c index a36a4993..327aa935 100644 --- 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);