mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Move reload pieces to end of page, call filter_configure() afterwards
This commit is contained in:
parent
789e0b9d4d
commit
e4e8c30f58
@ -268,8 +268,6 @@ if ($_POST) {
|
||||
|
||||
$retval = 0;
|
||||
|
||||
interfaces_opt_configure();
|
||||
|
||||
$savemsg = get_std_save_message($retval);
|
||||
}
|
||||
}
|
||||
@ -693,3 +691,18 @@ type_change();
|
||||
<?php include("fend.inc"); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
if ($_POST) {
|
||||
|
||||
if (!$input_errors) {
|
||||
interfaces_wan_configure();
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@ -257,7 +257,10 @@ function enable_change(enable_over) {
|
||||
if ($_POST['apply'] <> "") {
|
||||
|
||||
interfaces_lan_configure();
|
||||
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
|
||||
if(file_exists($d_landirty_path))
|
||||
unlink($d_landirty_path);
|
||||
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
?>
|
||||
@ -268,8 +268,6 @@ if ($_POST) {
|
||||
|
||||
$retval = 0;
|
||||
|
||||
interfaces_opt_configure();
|
||||
|
||||
$savemsg = get_std_save_message($retval);
|
||||
}
|
||||
}
|
||||
@ -693,3 +691,18 @@ type_change();
|
||||
<?php include("fend.inc"); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
if ($_POST) {
|
||||
|
||||
if (!$input_errors) {
|
||||
interfaces_wan_configure();
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user