diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index fe065f5c29..7ad43a4b8d 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -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(); + } } -?> +?> \ No newline at end of file diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php index 83c6ff9e81..7f71ec6309 100755 --- a/usr/local/www/interfaces_lan.php +++ b/usr/local/www/interfaces_lan.php @@ -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); diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index ac22c64267..e33127951c 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -460,6 +460,10 @@ if ($_POST) { /* sync filter configuration */ filter_configure(); + + /* set up static routes */ + system_routing_configure(); + } } ?> \ No newline at end of file diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index fe065f5c29..7ad43a4b8d 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -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(); + } } -?> +?> \ No newline at end of file