Revision 0ca36ca3
Added by benny benny over 10 years ago
etc/inc/vpn.inc | ||
---|---|---|
627 | 627 |
|
628 | 628 |
$uniqueids = 'yes'; |
629 | 629 |
if (!empty($config['ipsec']['uniqueids'])) { |
630 |
if (in_array($uniqueids, $ipsec_idhandling)) {
|
|
630 |
if (array_key_exists($config['ipsec']['uniqueids'], $ipsec_idhandling))
|
|
631 | 631 |
$uniqueids = $config['ipsec']['uniqueids']; |
632 |
} |
|
633 | 632 |
} |
634 | 633 |
$natfilterrules = false; |
635 | 634 |
/* begin ipsec.conf */ |
usr/local/www/vpn_ipsec_settings.php | ||
---|---|---|
51 | 51 |
$pconfig['acceptunencryptedmainmode'] = isset($config['ipsec']['acceptunencryptedmainmode']); |
52 | 52 |
$pconfig['maxmss_enable'] = isset($config['system']['maxmss_enable']); |
53 | 53 |
$pconfig['maxmss'] = $config['system']['maxmss']; |
54 |
$pconfig['uniqueids'] = $config['ipsec']['uniqueids']; |
|
54 | 55 |
|
55 | 56 |
if ($_POST) { |
56 | 57 |
|
Also available in: Unified diff
Fix IPsec Advanced Settings uniqueids. It was neither set in strongswan config, nor picked up correctly in the UI.