summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-03-02 23:24:34 +0000
committerRoy Marples <roy@marples.name>2009-03-02 23:24:34 +0000
commit0ffa23aeb6deed59311ea6fd3efd09a6cc3c8ef3 (patch)
tree0ec3198e61e67c6c3e8c05cea6444ada999d5382 /dhcpcd.c
parente103c79fca52c8f8eeb651e7f0e273000fe68819 (diff)
downloaddhcpcd-0ffa23aeb6deed59311ea6fd3efd09a6cc3c8ef3.tar.xz
Set the interval to 0 when carrier comes up.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c1
1 files changed, 1 insertions, 0 deletions
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);