summaryrefslogtreecommitdiffstats
path: root/bind.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-05 07:31:09 +0000
committerRoy Marples <roy@marples.name>2008-09-05 07:31:09 +0000
commite7eeaf88da7f1512b33847d180288f4158ef6bd4 (patch)
tree52215aeb2689bcd884e6477039e7b8dbc3f37eae /bind.c
parentda16617840a22827d78c99bab837d9be0a420c7c (diff)
downloaddhcpcd-e7eeaf88da7f1512b33847d180288f4158ef6bd4.tar.xz
Make TEST work once more.
Diffstat (limited to 'bind.c')
-rw-r--r--bind.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bind.c b/bind.c
index b0f7c9ba..8d058d11 100644
--- a/bind.c
+++ b/bind.c
@@ -173,6 +173,10 @@ bind_interface(void *arg)
} else
reason = "BOUND";
}
+ if (options & DHCPCD_TEST) {
+ run_script(iface, "TEST");
+ exit(EXIT_SUCCESS);
+ }
if (lease->leasetime == ~0U)
lease->renewaltime = lease->rebindtime = lease->leasetime;
else {