Revision 27e9e518
Added by Chris Buechler over 15 years ago
usr/local/www/vpn_ipsec_phase2.php | ||
---|---|---|
123 | 123 |
switch ($pconfig['localid_type']) { |
124 | 124 |
case "network": |
125 | 125 |
if (!$pconfig['localid_netbits'] || !is_numeric($pconfig['localid_netbits'])) |
126 |
$input_errors[] = "A valid local network bit count must be specified..";
|
|
126 |
$input_errors[] = "A valid local network bit count must be specified."; |
|
127 | 127 |
case "address": |
128 | 128 |
if (!$pconfig['localid_address'] || !is_ipaddr($pconfig['localid_address'])) |
129 | 129 |
$input_errors[] = "A valid local network IP address must be specified."; |
... | ... | |
133 | 133 |
switch ($pconfig['remoteid_type']) { |
134 | 134 |
case "network": |
135 | 135 |
if (!$pconfig['remoteid_netbits'] || !is_numeric($pconfig['remoteid_netbits'])) |
136 |
$input_errors[] = "A valid remote network bit count must be specified..";
|
|
136 |
$input_errors[] = "A valid remote network bit count must be specified."; |
|
137 | 137 |
case "address": |
138 | 138 |
if (!$pconfig['remoteid_address'] || !is_ipaddr($pconfig['remoteid_address'])) |
139 | 139 |
$input_errors[] = "A valid remote network IP address must be specified."; |
Also available in: Unified diff
fix text