diff options
author | erkin <me@erkin.party> | 2020-08-22 16:13:07 +0300 |
---|---|---|
committer | erkin <me@erkin.party> | 2020-08-22 16:13:07 +0300 |
commit | c3fd8886f733ea06581b8f98bb92d023c1419b5a (patch) | |
tree | dc31513d4a5f6cca3072a69846200f9fe902db5a | |
parent | ce56258f8dd52c5a14482a1055e4f23b89e462f6 (diff) | |
download | vyatta-cfg-vpn-c3fd8886f733ea06581b8f98bb92d023c1419b5a.tar.gz vyatta-cfg-vpn-c3fd8886f733ea06581b8f98bb92d023c1419b5a.zip |
IPsec: T2647: Replace obsoleted ipsec.conf option
-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 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"; |