summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-03-07 10:03:09 +0000
committerErmal <eri@pfsense.org>2013-03-07 10:03:35 +0000
commit1befdbf866c99106b7cd647c6e2f03defe447085 (patch)
tree827ae57a7a4a348a568e5dee728832b09dee2d0e /etc
parenteff8ea7dfa46d2aa55915e1e3850b74803491439 (diff)
downloadpfsense-1befdbf866c99106b7cd647c6e2f03defe447085.zip
pfsense-1befdbf866c99106b7cd647c6e2f03defe447085.tar.gz
Tune up a bit dhclient-script and call the kill state command only once its enough
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 165b17d..17bc995 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1240,7 +1240,7 @@ function interface_bring_down($interface = "wan", $destroy = false, $ifacecfg =
// log_error("Checking for old router states: {$g['tmp_path']}/{$realif}_router = {$old_router}");
if (!empty($old_router)) {
log_error("Clearing states to old gateway {$old_router}.");
- mwexec("/sbin/pfctl -i {$realif} -Fs; /sbin/pfctl -i {$realif} -Fs -G {$old_router}");
+ mwexec("/sbin/pfctl -i {$realif} -Fs -G {$old_router}");
}
/* remove interface up file if it exists */
OpenPOWER on IntegriCloud