summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase2.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php
index 4e509ee..483c8ac 100644
--- a/usr/local/www/vpn_ipsec_phase2.php
+++ b/usr/local/www/vpn_ipsec_phase2.php
@@ -149,16 +149,16 @@ if ($_POST) {
switch ($pconfig['natlocalid_type']) {
case "network":
if (($pconfig['natlocalid_netbits'] != 0 && !$pconfig['natlocalid_netbits']) || !is_numeric($pconfig['natlocalid_netbits']))
- $input_errors[] = gettext("A valid nat local network bit count must be specified.");
+ $input_errors[] = gettext("A valid NAT local network bit count must be specified.");
if ($pconfig['localid_type'] == "address")
$input_errors[] = gettext("You cannot configure a network type address for NAT while only an address type is selected for local source.");
case "address":
if (!empty($pconfig['natlocalid_address']) && !is_ipaddr($pconfig['natlocalid_address']))
- $input_errors[] = gettext("A valid nat local network IP address must be specified.");
+ $input_errors[] = gettext("A valid NAT local network IP address must be specified.");
elseif (is_ipaddrv4($pconfig['natlocalid_address']) && ($pconfig['mode'] != "tunnel"))
- $input_errors[] = gettext("A valid nat local network IPv4 address must be specified or you need to change Mode to IPv6");
+ $input_errors[] = gettext("A valid NAT local network IPv4 address must be specified or you need to change Mode to IPv6");
elseif (is_ipaddrv6($pconfig['natlocalid_address']) && ($pconfig['mode'] != "tunnel6"))
- $input_errors[] = gettext("A valid nat local network IPv6 address must be specified or you need to change Mode to IPv4");
+ $input_errors[] = gettext("A valid NAT local network IPv6 address must be specified or you need to change Mode to IPv4");
break;
}
OpenPOWER on IntegriCloud