Revision 885cf6a7
Added by Jim Pingle almost 7 years ago
src/usr/local/www/vpn_ipsec_phase2.php | ||
---|---|---|
243 | 243 |
/* Validate enabled phase2's are not duplicates */ |
244 | 244 |
if (isset($pconfig['mobile'])) { |
245 | 245 |
/* User is adding phase 2 for mobile phase1 */ |
246 |
if ($pconfig['mode'] == "vti") { |
|
247 |
$input_errors[] = gettext("VTI is not compatible with mobile IPsec."); |
|
248 |
} |
|
249 |
|
|
246 | 250 |
foreach ($a_phase2 as $key => $name) { |
247 | 251 |
if (isset($name['mobile']) && $name['uniqid'] != $pconfig['uniqid']) { |
248 | 252 |
/* check duplicate localids only for mobile clents */ |
Also available in: Unified diff
Prevent a user from selecting VTI for mobile IPsec. Fixes #8877