summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-08-22 20:49:29 +0700
committerGitHub <noreply@github.com>2020-08-22 20:49:29 +0700
commit342eb4fae3fd6c3b79440a9932c43f29e27d74c3 (patch)
treedc31513d4a5f6cca3072a69846200f9fe902db5a
parentce56258f8dd52c5a14482a1055e4f23b89e462f6 (diff)
parentc3fd8886f733ea06581b8f98bb92d023c1419b5a (diff)
downloadvyatta-cfg-vpn-342eb4fae3fd6c3b79440a9932c43f29e27d74c3.tar.gz
vyatta-cfg-vpn-342eb4fae3fd6c3b79440a9932c43f29e27d74c3.zip
Merge pull request #36 from erkin/current
IPsec: T2647: Replace obsoleted ipsec.conf option
-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 d1ae5a8..507be1b 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";