diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-11-30 20:43:53 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-11-30 20:43:53 +0000 |
commit | 7d12e3094c73f0cdd4fcb2261387d070fc6b4e20 (patch) | |
tree | b2001d9fb62018691f5cc327efd89b29cc7d79be | |
parent | 99c2a28b1d70fe34be2c435977e4afb491618ee5 (diff) | |
download | pfsense-7d12e3094c73f0cdd4fcb2261387d070fc6b4e20.zip pfsense-7d12e3094c73f0cdd4fcb2261387d070fc6b4e20.tar.gz |
Use correct var.
-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"); |