summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/interfaces_opt.php21
1 files changed, 10 insertions, 11 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index d5d0ef8..9f0d5f8 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -166,18 +166,14 @@ if ($_POST) {
write_config();
- $retval = 0;
- if (!file_exists($d_sysrebootreqd_path)) {
- config_lock();
- $retval = interfaces_optional_configure();
-
- /* is this the captive portal interface? */
- if (isset($config['captiveportal']['enable']) &&
- ($config['captiveportal']['interface'] == ('opt' . $index))) {
- captiveportal_configure();
- }
- config_unlock();
+ $retval = interfaces_optional_configure();
+
+ /* is this the captive portal interface? */
+ if (isset($config['captiveportal']['enable']) &&
+ ($config['captiveportal']['interface'] == ('opt' . $index))) {
+ captiveportal_configure();
}
+ config_unlock();
/* setup carp interfaces */
interfaces_carp_configure();
@@ -185,6 +181,9 @@ if ($_POST) {
/* bring up carp interfaces */
interfaces_carp_bringup();
+ /* sync filter configuration */
+ filter_configure();
+
$savemsg = "The changes have been applied.";
}
}
OpenPOWER on IntegriCloud