diff options
author | erkin <me@erkin.party> | 2020-08-22 16:13:07 +0300 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2021-02-09 14:00:11 +0100 |
commit | eb1d60691b0cb0998809aea3336c139235a4a919 (patch) | |
tree | cb6ff3ddf95d810959fcc36dd4c159f962de1e51 /scripts | |
parent | 2e9d88c83e8360bda29e93f72f91252353bc07c9 (diff) | |
download | vyatta-cfg-vpn-eb1d60691b0cb0998809aea3336c139235a4a919.tar.gz vyatta-cfg-vpn-eb1d60691b0cb0998809aea3336c139235a4a919.zip |
IPsec: T2647: Replace obsoleted ipsec.conf option
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vpn-config.pl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index 86fbd05..557b670 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -286,16 +286,13 @@ if ($vcVPN->exists('ipsec')) { $genout .= "\"\n"; } - # Set plutoopts: - # Disable uniqreqids? + # + # Disable uniqueids # if ($vcVPN->exists('ipsec disable-uniqreqids')) { - $genout .= "\tdisableuniqreqids=yes\n"; + $genout .= "\tuniqueids=no\n"; } - # - # Default keyengine is ikev1 - # $genout .= "\n"; $genout .= "conn %default\n"; $genout .= "\tkeyexchange=ikev1\n\n"; |