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 160ed44e..fd76a3d 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -94,7 +94,7 @@ if ($_POST) { $input_errors[] = "A valid gateway IP address must be specified."; } if ($_POST['gateway'] && (is_ipaddr($_POST['gateway'])) && ($pconfig['attribute'] != "system")) { - if(! ip_in_subnet($_POST['gateway'], get_interface_subnet($interface)) { + if(! ip_in_subnet($_POST['gateway'], get_interface_subnet($interface))) { $input_errors[] = "The Address {$_POST['gateway']} does not lie in the interface subnet"; } } |