diff options
author | marjohn56 <martin@queens-park.com> | 2017-01-24 09:09:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 09:09:06 +0000 |
commit | ce66d4a4e5aa2f68cf46f9de9625e72dc495f1d3 (patch) | |
tree | 05f51d294112bef4a2f35c10f815ff7ffa4f7b6f /src/etc/inc/interfaces.inc | |
parent | 5c803c910dd6c16e5563dbf13b0cbbbabe118e33 (diff) | |
download | pfsense-ce66d4a4e5aa2f68cf46f9de9625e72dc495f1d3.zip pfsense-ce66d4a4e5aa2f68cf46f9de9625e72dc495f1d3.tar.gz |
Update interfaces.inc
Diffstat (limited to 'src/etc/inc/interfaces.inc')
-rw-r--r-- | src/etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 74c3ffb..d7b0133 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -3052,8 +3052,8 @@ function kill_dhcp6client_process($interface,$norelease) { /* to send the release, it will also clean up after itself */ // Debug - next line remove if not required log_error("shutting down dhcp6c process"); - $killtype = isset($norelease) ? "-9" : "-15"; - mwexec("kill {$killtype} {$pid}"); + $sig = (isset($norelease) ? SIGKILL : SIGTERM); + posix_kill($pid,$sig); if(!isset($norelease)) { sleep(2); //Allow dhcp6c to send releae and exit gracefully if needed. } |