diff options
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 163b14b..8794dca 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -619,7 +619,7 @@ function interface_bring_down($interface = "wan") { mwexec("kill {$pid}"); sleep(1); unlink_if_exists("{$g['varetc_path']}/dhclient_{$interface}.conf"); - mwexec("/sbin/ifconfig {$realinterface} delete down"); + mwexec("/sbin/ifconfig {$realif} delete down"); break; default: mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " delete down"); |