diff options
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
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']); } |