From 6a69bc65a81a5e348fd4c5f9690ba93047ed2ed3 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Sat, 16 Mar 2013 11:47:09 -0300 Subject: [PATCH] Use realif on dhcp6 pid filename since find_dhcp6c_process() looks for it and cannot kill it --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index b756c0144f..274862691c 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3538,7 +3538,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) { filter_configure_sync(); /* fire up dhcp6c for IPv6 first, this backgrounds immediately */ - mwexec("/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$interface}.pid {$wanif}"); + mwexec("/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$wanif}.pid {$wanif}"); sleep(1); unset($out); exec("/sbin/rtsol -d {$wanif} 2>&1", $out, $ret);