summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-11-26 14:13:10 +0000
committerErmal Luçi <eri@pfsense.org>2009-11-26 14:13:10 +0000
commit331e8242e32eacee070740a74f90f87dfde95562 (patch)
treec4458c318e125bf969b0eed0ae09b854a973a277 /usr
parent34019d287250e544cf1a4a31be4c28f043b5b246 (diff)
downloadpfsense-331e8242e32eacee070740a74f90f87dfde95562.zip
pfsense-331e8242e32eacee070740a74f90f87dfde95562.tar.gz
Resolves #174. Fix the typo to reresolve the issue.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_assign.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 5132d80..4858381 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -184,7 +184,7 @@ if ($_POST['apply']) {
if (!is_array($ifport)) {
$reloadif = false;
- if (!empty($config['interfaces']['if']) && $config['interfaces']['if'] <> $ifport)
+ if (!empty($config['interfaces'][$ifname]['if']) && $config['interfaces'][$ifname]['if'] <> $ifport)
/* Mark this to be reconfigured in any case. */
$reloadif = true;
$config['interfaces'][$ifname]['if'] = $ifport;
@@ -212,8 +212,6 @@ if ($_POST['apply']) {
}
write_config();
-
- touch("/tmp/reload_interfaces");
}
}
OpenPOWER on IntegriCloud