summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 7bb983e..c2f9f60 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1341,11 +1341,6 @@ function interface_bring_down($interface = "wan", $destroy = false, $ifacecfg =
$old_router = '';
if (file_exists("{$g['tmp_path']}/{$realif}_router"))
$old_router = trim(file_get_contents("{$g['tmp_path']}/{$realif}_router"));
-// 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 " . escapeshellarg($realif) . " -Fs");
- }
/* remove interface up file if it exists */
unlink_if_exists("{$g['tmp_path']}/{$realif}up");
OpenPOWER on IntegriCloud