diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-06-21 15:24:43 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-06-21 15:25:26 -0500 |
commit | 7253e407240d00d6acb3fee6e8028618a92465d9 (patch) | |
tree | facc784f171ff3db19fe423f18b58fc576f06a25 | |
parent | 28af9ca0f4b11ce8902df3573d4a42039a7e50cf (diff) | |
download | pfsense-7253e407240d00d6acb3fee6e8028618a92465d9.zip pfsense-7253e407240d00d6acb3fee6e8028618a92465d9.tar.gz |
Only omit aggressive line from ipsec.conf where IKEv2. Ticket #6513
-rw-r--r-- | src/etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/vpn.inc b/src/etc/inc/vpn.inc index 1abf2fd..cdf8aca 100644 --- a/src/etc/inc/vpn.inc +++ b/src/etc/inc/vpn.inc @@ -1394,7 +1394,7 @@ EOD; if (!empty($peerid_spec)) { $ipsecconnect .= "\trightid = {$peerid_spec}\n"; } - if ($keyexchange == 'ikev1') { + if ($keyexchange != 'ikev2') { $ipsecconnect .= "\taggressive = {$aggressive}\n"; } |