summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_gateways_edit.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index d2db8c5..0128ef2 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -197,18 +197,6 @@ if ($_POST) {
}
if (!$input_errors) {
- if (!($_POST['weight'] > 1 || $_POST['latencylow'] || $_POST['latencyhigh'] ||
- $_POST['losslow'] || $_POST['losshigh'] || $_POST['down'] ||
- $_POST['defaultgw'] || is_ipaddr($_POST['monitor']) || is_ipaddr($_POST['gateway']))) {
- /* Delete from config if gw is dynamic and user is not saving any additional gateway data that system doesn't know */
- if (isset($id) && $a_gateway_item[$id])
- unset($a_gateway_item[$id]);
- write_config();
- header("Location: system_gateways.php");
- exit;
- }
-
-
$reloadif = "";
$gateway = array();
OpenPOWER on IntegriCloud