summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-05 07:07:55 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-05 07:07:55 -0200
commit87d4456cf4a98aa306452fd4728720f3d8238244 (patch)
treed3ce5772e9dbea0bf94cbac3729dee2192b6bed6 /usr/local/www/firewall_rules_edit.php
parentf81011eadd042fb183132d56fa7b2f5ab9eb4193 (diff)
parenta94a16cd463f480ed72bec3fef5df139ecfa73cd (diff)
downloadpfsense-87d4456cf4a98aa306452fd4728720f3d8238244.zip
pfsense-87d4456cf4a98aa306452fd4728720f3d8238244.tar.gz
Merge pull request #1323 from derelict-pf/master
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rw-r--r--usr/local/www/firewall_rules_edit.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 5376a08..21f9388 100644
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -277,10 +277,10 @@ if ($_POST) {
$input_errors[] = gettext("You can not assign a gateway to a rule that applies to IPv4 and IPv6");
}
if(($_POST['ipprotocol'] == "inet6") && ($_POST['ipprotocol'] != $family)) {
- $input_errors[] = gettext("You can not assign a IPv4 gateway group on IPv6 Address Family rule");
+ $input_errors[] = gettext("You can not assign an IPv4 gateway group on IPv6 Address Family rule");
}
if(($_POST['ipprotocol'] == "inet") && ($_POST['ipprotocol'] != $family)) {
- $input_errors[] = gettext("You can not assign a IPv6 gateway group on IPv4 Address Family rule");
+ $input_errors[] = gettext("You can not assign an IPv6 gateway group on IPv4 Address Family rule");
}
}
}
@@ -291,16 +291,16 @@ if ($_POST) {
$input_errors[] = gettext("You can not assign a gateway to a rule that applies to IPv4 and IPv6");
}
if(($_POST['ipprotocol'] == "inet6") && (!is_ipaddrv6(lookup_gateway_ip_by_name($_POST['gateway'])))) {
- $input_errors[] = gettext("You can not assign the IPv4 Gateway to a IPv6 Filter rule");
+ $input_errors[] = gettext("You can not assign an IPv4 Gateway to an IPv6 Filter rule");
}
if(($_POST['ipprotocol'] == "inet") && (!is_ipaddrv4(lookup_gateway_ip_by_name($_POST['gateway'])))) {
- $input_errors[] = gettext("You can not assign the IPv6 Gateway to a IPv4 Filter rule");
+ $input_errors[] = gettext("You can not assign an IPv6 Gateway to an IPv4 Filter rule");
}
}
if (($_POST['proto'] != "tcp") && ($_POST['proto'] != "udp") && ($_POST['proto'] != "tcp/udp") && ($_POST['proto'] != "icmp")) {
if($_POST['ipprotocol'] == "inet46")
- $input_errors[] = gettext("You can not assign a protocol other then ICMP, TCP, UDP or TCP/UDP to a rule that applies to IPv4 and IPv6");
+ $input_errors[] = gettext("You can not assign a protocol other than ICMP, TCP, UDP or TCP/UDP to a rule that applies to IPv4 and IPv6");
}
if (($_POST['proto'] == "icmp") && ($_POST['icmptype'] <> "")){
if($_POST['ipprotocol'] == "inet46")
@@ -512,11 +512,11 @@ if ($_POST) {
else if ($_POST['pdnpipe'] == $_POST['dnpipe'])
$input_errors[] = gettext("In and Out Queue cannot be the same.");
else if ($dnqlist[$_POST['pdnpipe']][0] == "?" && $dnqlist[$_POST['dnpipe']][0] <> "?")
- $input_errors[] = gettext("You cannot select one queue and one virtual interface for IN and Out. both must be from the same type.");
+ $input_errors[] = gettext("You cannot select one queue and one virtual interface for IN and Out. Both must be from the same type.");
else if ($dnqlist[$_POST['dnpipe']][0] == "?" && $dnqlist[$_POST['pdnpipe']][0] <> "?")
- $input_errors[] = gettext("You cannot select one queue and one virtual interface for IN and Out. both must be from the same type.");
+ $input_errors[] = gettext("You cannot select one queue and one virtual interface for IN and Out. Both must be from the same type.");
if ($_POST['direction'] == "out" && empty($_POST['gateway']))
- $input_errors[] = gettext("Please select a gateway, normaly the interface selected gateway, so the limiters work correctly");
+ $input_errors[] = gettext("Please select a gateway, normally the interface selected gateway, so the limiters work correctly");
}
if( !empty($_POST['ruleid']) && !ctype_digit($_POST['ruleid']))
$input_errors[] = gettext('ID must be an integer');
OpenPOWER on IntegriCloud