diff options
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-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 c3aabb6..160ed44e 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"; } } |