diff --git a/usr/local/www/system_advanced_network.php b/usr/local/www/system_advanced_network.php index 6e7f99cc1e..444142591d 100644 --- a/usr/local/www/system_advanced_network.php +++ b/usr/local/www/system_advanced_network.php @@ -61,14 +61,14 @@ $pconfig['flowtable'] = isset($config['system']['flowtable']); if ($_POST) { - unset($input_errors); - $pconfig = $_POST; + unset($input_errors); + $pconfig = $_POST; if ($_POST['ipv6nat_enable'] && !is_ipaddr($_POST['ipv6nat_ipaddr'])) $input_errors[] = gettext("You must specify an IP address to NAT IPv6 packets."); - ob_flush(); - flush(); + ob_flush(); + flush(); if (!$input_errors) { if($_POST['ipv6nat_enable'] == "yes") { @@ -78,15 +78,15 @@ if ($_POST) { if($config['diag']) { if($config['diag']['ipv6nat']) { unset($config['diag']['ipv6nat']['enable']); - unset($config['diag']['ipv6nat']['ipaddr']); + unset($config['diag']['ipv6nat']['ipaddr']); } } } - + if($_POST['ipv6allow'] == "yes") { - $config['system']['ipv6allow'] = true; + $config['system']['ipv6allow'] = true; } else { - unset($config['system']['ipv6allow']); + unset($config['system']['ipv6allow']); } if($_POST['sharednet'] == "yes") { @@ -139,9 +139,9 @@ if ($_POST) { $retval = filter_configure(); if(stristr($retval, "error") <> true) - $savemsg = get_std_save_message(gettext($retval)); + $savemsg = get_std_save_message(gettext($retval)); else - $savemsg = gettext($retval); + $savemsg = gettext($retval); } } @@ -184,7 +184,7 @@ function enable_change(enable_over) { $tab_array[] = array(gettext("Networking"), true, "system_advanced_network.php"); $tab_array[] = array(gettext("Miscellaneous"), false, "system_advanced_misc.php"); $tab_array[] = array(gettext("System Tunables"), false, "system_advanced_sysctl.php"); - $tab_array[] = array(gettext("Notifications"), false, "system_advanced_notifications.php"); + $tab_array[] = array(gettext("Notifications"), false, "system_advanced_notifications.php"); display_top_tabs($tab_array); ?> @@ -193,7 +193,7 @@ function enable_change(enable_over) {