diff options
Diffstat (limited to 'usr/local/www/interfaces_opt.php')
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 17 |
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 |