mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
When changing the IP address, reassign all static routes.
Tested-by: Gary Buckmaster via ORU
This commit is contained in:
parent
555a00ac9d
commit
276a350f68
@ -510,6 +510,7 @@ if ($_POST) {
|
||||
config_unlock();
|
||||
}
|
||||
|
||||
|
||||
$retval = 0;
|
||||
|
||||
$savemsg = get_std_save_message($retval);
|
||||
@ -1035,7 +1036,11 @@ if ($_POST) {
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
|
||||
/* set up static routes */
|
||||
system_routing_configure();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
@ -268,6 +268,9 @@ if ($_POST['apply'] <> "") {
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
|
||||
/* set up static routes */
|
||||
system_routing_configure();
|
||||
|
||||
if(file_exists($d_landirty_path))
|
||||
unlink($d_landirty_path);
|
||||
|
||||
@ -460,6 +460,10 @@ if ($_POST) {
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
|
||||
/* set up static routes */
|
||||
system_routing_configure();
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
@ -510,6 +510,7 @@ if ($_POST) {
|
||||
config_unlock();
|
||||
}
|
||||
|
||||
|
||||
$retval = 0;
|
||||
|
||||
$savemsg = get_std_save_message($retval);
|
||||
@ -1035,7 +1036,11 @@ if ($_POST) {
|
||||
|
||||
/* sync filter configuration */
|
||||
filter_configure();
|
||||
|
||||
/* set up static routes */
|
||||
system_routing_configure();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user