From 331e8242e32eacee070740a74f90f87dfde95562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Thu, 26 Nov 2009 14:13:10 +0000 Subject: Resolves #174. Fix the typo to reresolve the issue. --- usr/local/www/interfaces_assign.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr') 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"); } } -- cgit v1.1