summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorerkin <me@erkin.party>2020-08-22 16:13:07 +0300
committerDaniil Baturin <daniil@baturin.org>2021-02-09 14:00:11 +0100
commiteb1d60691b0cb0998809aea3336c139235a4a919 (patch)
treecb6ff3ddf95d810959fcc36dd4c159f962de1e51 /scripts
parent2e9d88c83e8360bda29e93f72f91252353bc07c9 (diff)
downloadvyatta-cfg-vpn-eb1d60691b0cb0998809aea3336c139235a4a919.tar.gz
vyatta-cfg-vpn-eb1d60691b0cb0998809aea3336c139235a4a919.zip
IPsec: T2647: Replace obsoleted ipsec.conf option
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vpn-config.pl9
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";