diff options
-rwxr-xr-x | usr/local/www/interfaces.php | 8 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 1ce9388..3477773 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -255,7 +255,13 @@ if ($_POST) { config_lock(); $retval = interfaces_wan_configure(); config_unlock(); - + + /* setup carp interfaces */ + interfaces_carp_configure(); + + /* bring up carp interfaces */ + interfaces_carp_bringup(); + $savemsg = get_std_save_message($retval); } } diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 1ce9388..3477773 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -255,7 +255,13 @@ if ($_POST) { config_lock(); $retval = interfaces_wan_configure(); config_unlock(); - + + /* setup carp interfaces */ + interfaces_carp_configure(); + + /* bring up carp interfaces */ + interfaces_carp_bringup(); + $savemsg = get_std_save_message($retval); } } |