summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-08-24 15:12:05 +0200
committerSeth Mos <seth.mos@dds.nl>2011-08-24 15:12:05 +0200
commit8c591d01db6f5223a5d2ded4974951409c174604 (patch)
tree9537c036c75d2a806f044457d8ec3a878356efdd /usr/local
parent16b03b7985616c4444ba428123b1ba48e7d0ebcc (diff)
downloadpfsense-8c591d01db6f5223a5d2ded4974951409c174604.zip
pfsense-8c591d01db6f5223a5d2ded4974951409c174604.tar.gz
Unbreak firewall rules edit, missing a )
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index f9e2309..a81bfae 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -352,7 +352,7 @@ if ($_POST) {
$input_errors[] = gettext("A valid destination bit count must be specified.");
}
}
- if((is_ipaddr($_POST['src']) && is_ipaddr($_POST['dst'])) {
+ if((is_ipaddr($_POST['src']) && is_ipaddr($_POST['dst']))) {
if(!validate_address_family($_POST['src'], $_POST['dst']))
$input_errors[] = sprintf(gettext("The Source IP address %s Address Family differs from the destination %s."), $_POST['src'], $_POST['dst']);
}
OpenPOWER on IntegriCloud