When changing the IP address, reassign all static routes.

Tested-by: Gary Buckmaster via ORU
This commit is contained in:
Scott Ullrich 2008-01-22 21:31:41 +00:00
parent 555a00ac9d
commit 276a350f68
4 changed files with 19 additions and 2 deletions

View File

@ -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();
}
}
?>
?>

View File

@ -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);

View File

@ -460,6 +460,10 @@ if ($_POST) {
/* sync filter configuration */
filter_configure();
/* set up static routes */
system_routing_configure();
}
}
?>

View File

@ -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();
}
}
?>
?>