diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-12 21:24:44 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-12 21:24:44 +0000 |
commit | fae80dfcc84d932af52cf3827a8a98c9b6892e8e (patch) | |
tree | 84208f981fde3ff30c1bd54d90b1ee0c1babec41 /etc | |
parent | 468cee8d243d929d00e7ab68d48c62837118caa8 (diff) | |
download | pfsense-fae80dfcc84d932af52cf3827a8a98c9b6892e8e.zip pfsense-fae80dfcc84d932af52cf3827a8a98c9b6892e8e.tar.gz |
Allow multi interface Renew/Release
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index d7c4206..da1f4f0 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -703,7 +703,8 @@ function interfaces_dhcp_down($interface) { $wanif = $wancfg['if']; mwexec("/sbin/ifconfig {$interface} delete"); $pid_dhclient = `ps awux | grep dhclient | grep {$interface}`; - mwexec("kill {$pid_dhclient}"); + if($pid_dhclient) + mwexec("kill {$pid_dhclient}"); sleep(1); } |