Project

General

Profile

« Previous | Next » 

Revision 0ca36ca3

Added by benny benny over 10 years ago

Fix IPsec Advanced Settings uniqueids. It was neither set in strongswan config, nor picked up correctly in the UI.

View differences:

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 */

Also available in: Unified diff