summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroy@uberlaptop.marples.name <roy@uberlaptop.marples.name>2012-03-27 16:47:43 +0000
committerroy@uberlaptop.marples.name <roy@uberlaptop.marples.name>2012-03-27 16:47:43 +0000
commit6b2a61c05356c9a8d68d0085a905debafc792cdd (patch)
treee0681566d455ce161d37b063638a81a10edba2dd
parentdcc1e564e7930b2425958560e108bca55a639b35 (diff)
downloaddhcpcd-6b2a61c05356c9a8d68d0085a905debafc792cdd.tar.xz
When sending signals, respect the interface it was started on.
-rw-r--r--dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index c1193f27..d46e88a9 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -1533,7 +1533,7 @@ handle_signal(_unused void *arg)
ifo->options |= DHCPCD_DAEMONISED;
options = ifo->options;
free_options(ifo);
- reconf_reboot(1, 0, NULL, 0);
+ reconf_reboot(1, ifc, ifv, 0);
return;
case SIGHUP:
syslog(LOG_INFO, "received SIGHUP, releasing");