summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerkin <me@erkin.party>2020-08-22 16:13:07 +0300
committererkin <me@erkin.party>2020-08-22 16:13:07 +0300
commitc3fd8886f733ea06581b8f98bb92d023c1419b5a (patch)
treedc31513d4a5f6cca3072a69846200f9fe902db5a
parentce56258f8dd52c5a14482a1055e4f23b89e462f6 (diff)
downloadvyatta-cfg-vpn-c3fd8886f733ea06581b8f98bb92d023c1419b5a.tar.gz
vyatta-cfg-vpn-c3fd8886f733ea06581b8f98bb92d023c1419b5a.zip
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";