summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-07 10:51:10 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-07 10:51:10 +0000
commit812318037754e17557720677487c53cbd0eb7357 (patch)
treee7a432f53b98aec41ea4764618a85a6486d9e892 /usr/local/www/system_gateways_edit.php
parentfa55108935385b4ca73f7666fa8f4bd1916ced87 (diff)
downloadpfsense-812318037754e17557720677487c53cbd0eb7357.zip
pfsense-812318037754e17557720677487c53cbd0eb7357.tar.gz
Fix missing ).
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-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 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";
}
}
OpenPOWER on IntegriCloud