diff options
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 6f0711f..66ac916 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -137,7 +137,7 @@ if ($_POST) { $gateway['descr'] = $_POST['descr']; $gateway['monitor'] = $_POST['monitor']; - if ($_POST['defaultgw'] == "yes") { + if ($_POST['defaultgw'] == "yes" or $_POST['defaultgw'] == "on") { $i = 0; foreach($a_gateways as $gw) { unset($config['gateways'][$i]['defaultgw']); |