diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-12-16 20:20:05 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-12-16 20:20:05 +0100 |
commit | aef6d76fc20a25751cb282efd644571d9f7465b5 (patch) | |
tree | aa9db62c42c262666f19b4a81dd0c92d78ea8cb4 | |
parent | 8556ce57dc760e2a15d0d09502b8fcb869f80ce5 (diff) | |
download | pfsense-aef6d76fc20a25751cb282efd644571d9f7465b5.zip pfsense-aef6d76fc20a25751cb282efd644571d9f7465b5.tar.gz |
Revert b15ae348, add mute flag set to true
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 85b0fd5..223cca5 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -811,11 +811,13 @@ function interface_bring_down($interface = "wan", $destroy = false) { sleep(1); unlink_if_exists("{$g['varetc_path']}/dhclient_{$interface}.conf"); if(does_interface_exist("$realif")) { + mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " delete", true); mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " down"); } break; default: if(does_interface_exist("$realif")) { + mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " delete", true); mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " down"); } break; |