summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_opt.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/interfaces_opt.php')
-rwxr-xr-xusr/local/www/interfaces_opt.php17
1 files changed, 12 insertions, 5 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index 85baf10..b100a27 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -197,11 +197,6 @@ if ($_POST) {
write_config();
- interfaces_optional_configure_if($index);
-
- /* sync filter configuration */
- filter_configure();
-
$savemsg = get_std_save_message($retval);
}
}
@@ -422,3 +417,15 @@ enable_change(false);
<?php include("fend.inc"); ?>
</body>
</html>
+
+<?php
+if ($_POST) {
+
+ if (!$input_errors) {
+ interfaces_optional_configure_if($index);
+
+ /* sync filter configuration */
+ filter_configure();
+ }
+}
+?> \ No newline at end of file
OpenPOWER on IntegriCloud