From: roy@uberlaptop.marples.name Date: Tue, 27 Mar 2012 16:47:43 +0000 (+0000) Subject: When sending signals, respect the interface it was started on. X-Git-Tag: v5.5.6~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b2a61c05356c9a8d68d0085a905debafc792cdd;p=thirdparty%2Fdhcpcd.git When sending signals, respect the interface it was started on. --- 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");