summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces_lan.php4
-rwxr-xr-xusr/local/www/interfaces_opt.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 9a32a17..b800050 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -127,11 +127,13 @@ if ($_POST) {
touch($d_landirty_path);
if ($_POST['apply'] <> "") {
- interfaces_opt_configure();
+
+ interfaces_lan_configure();
unlink($d_landirty_path);
$savemsg = "The changes have been applied. You may need to correct the web browsers ip address.";
+
}
}
}
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index 3ebd9ac..85baf10 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -197,7 +197,7 @@ if ($_POST) {
write_config();
- interfaces_opt_configure();
+ interfaces_optional_configure_if($index);
/* sync filter configuration */
filter_configure();
OpenPOWER on IntegriCloud