diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-03-16 13:09:16 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-03-16 13:09:16 -0300 |
commit | e074fb75a9ceaa9d550bdedf3f876ae68ddbf66c (patch) | |
tree | e2c921653656e4f43ac6c3ebeda265c32b7fdc91 /usr/local/www/services_dhcpv6.php | |
parent | 6a69bc65a81a5e348fd4c5f9690ba93047ed2ed3 (diff) | |
download | pfsense-e074fb75a9ceaa9d550bdedf3f876ae68ddbf66c.zip pfsense-e074fb75a9ceaa9d550bdedf3f876ae68ddbf66c.tar.gz |
Use killbypid instead of a killall that never works
Diffstat (limited to 'usr/local/www/services_dhcpv6.php')
-rw-r--r-- | usr/local/www/services_dhcpv6.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index 6854bae..19f13cb 100644 --- a/usr/local/www/services_dhcpv6.php +++ b/usr/local/www/services_dhcpv6.php @@ -324,7 +324,7 @@ if ($_POST) { $retvaldhcp = 0; $retvaldns = 0; /* Stop DHCPv6 so we can cleanup leases */ - killbyname("dhcpd -6"); + killbypid("{$g['dhcpd_chroot_path']}{$g['varrun_path']}/dhcpdv6.pid"); // dhcp_clean_leases(); /* dnsmasq_configure calls dhcpd_configure */ /* no need to restart dhcpd twice */ |