summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-09 11:28:32 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-09 11:28:32 +0000
commit5d478ecca0a7f73c8cceeb600d2f3de56887e6b9 (patch)
tree748ca8889b974d0a610e1e2a44e8505d4719507f /etc
parented65eb04ee1c296fa7abba90c98968d3b80f72f0 (diff)
downloadpfsense-5d478ecca0a7f73c8cceeb600d2f3de56887e6b9.zip
pfsense-5d478ecca0a7f73c8cceeb600d2f3de56887e6b9.tar.gz
Ticket #259. Search for the dhclient process using the real interface rather than the friendly one.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 1993955..5fc6ddd 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -822,7 +822,7 @@ function interface_bring_down($interface = "wan", $destroy = false) {
* other interfaces!
*/
case "dhcp":
- $pid = find_dhclient_process($interface);
+ $pid = find_dhclient_process($realif);
if($pid)
mwexec("kill {$pid}");
sleep(1);
OpenPOWER on IntegriCloud