summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-12-07 08:33:10 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-12-07 08:33:10 +0100
commit86c3a4decfe132974e9c1d6dd859dc424ae5e8bf (patch)
tree4dbd76a4c7526192fa000946daaeb566987dec3c /usr
parent1bf0cb2105cfa003f68c5676858e37e2e07dd92e (diff)
downloadpfsense-86c3a4decfe132974e9c1d6dd859dc424ae5e8bf.zip
pfsense-86c3a4decfe132974e9c1d6dd859dc424ae5e8bf.tar.gz
Remove extra ) which broke the page
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_gateways_edit.php2
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";
}
}
OpenPOWER on IntegriCloud