summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_assign.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-06-21 00:28:50 +0000
committerErmal Luçi <eri@pfsense.org>2008-06-21 00:28:50 +0000
commitb6db92176273cdd9b1dfbf6b44b42e55a35ee7af (patch)
treedd6c6916b9443469466dfa3f1c09cd70f0a9a002 /usr/local/www/interfaces_assign.php
parent19604f5d9680dad1a5e12d1bea8d7e5aa9f37193 (diff)
downloadpfsense-b6db92176273cdd9b1dfbf6b44b42e55a35ee7af.zip
pfsense-b6db92176273cdd9b1dfbf6b44b42e55a35ee7af.tar.gz
Continue interface improvements.
Diffstat (limited to 'usr/local/www/interfaces_assign.php')
-rwxr-xr-xusr/local/www/interfaces_assign.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index d58fc36..898d3e7 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -137,7 +137,7 @@ if ($_GET['act'] == "del") {
$i = substr($id, 3); /* the number of the OPTn port being deleted */
unset($config['interfaces'][$id]['enable']);
- interfaces_optional_configure_if($i); /* down the interface */
+ interfaces_optional_configure_if($id); /* down the interface */
unset($config['interfaces'][$id]); /* delete the specified OPTn or LAN*/
@@ -338,4 +338,4 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed"))
exec("/etc/rc.reboot");
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud