Revision 324e112d
Added by Chris Buechler almost 12 years ago
usr/local/www/vpn_ipsec_phase2.php | ||
---|---|---|
149 | 149 |
switch ($pconfig['natlocalid_type']) { |
150 | 150 |
case "network": |
151 | 151 |
if (($pconfig['natlocalid_netbits'] != 0 && !$pconfig['natlocalid_netbits']) || !is_numeric($pconfig['natlocalid_netbits'])) |
152 |
$input_errors[] = gettext("A valid nat local network bit count must be specified.");
|
|
152 |
$input_errors[] = gettext("A valid NAT local network bit count must be specified.");
|
|
153 | 153 |
if ($pconfig['localid_type'] == "address") |
154 | 154 |
$input_errors[] = gettext("You cannot configure a network type address for NAT while only an address type is selected for local source."); |
155 | 155 |
case "address": |
156 | 156 |
if (!empty($pconfig['natlocalid_address']) && !is_ipaddr($pconfig['natlocalid_address'])) |
157 |
$input_errors[] = gettext("A valid nat local network IP address must be specified.");
|
|
157 |
$input_errors[] = gettext("A valid NAT local network IP address must be specified.");
|
|
158 | 158 |
elseif (is_ipaddrv4($pconfig['natlocalid_address']) && ($pconfig['mode'] != "tunnel")) |
159 |
$input_errors[] = gettext("A valid nat local network IPv4 address must be specified or you need to change Mode to IPv6");
|
|
159 |
$input_errors[] = gettext("A valid NAT local network IPv4 address must be specified or you need to change Mode to IPv6");
|
|
160 | 160 |
elseif (is_ipaddrv6($pconfig['natlocalid_address']) && ($pconfig['mode'] != "tunnel6")) |
161 |
$input_errors[] = gettext("A valid nat local network IPv6 address must be specified or you need to change Mode to IPv4");
|
|
161 |
$input_errors[] = gettext("A valid NAT local network IPv6 address must be specified or you need to change Mode to IPv4");
|
|
162 | 162 |
break; |
163 | 163 |
} |
164 | 164 |
|
Also available in: Unified diff
touch up text, s/nat/NAT/