diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-01-25 14:33:37 -0800 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-01-25 14:33:37 -0800 |
commit | eafa74284e1122683a756cdf935092da5df33f87 (patch) | |
tree | d0134ea871b2571e9645d0c135e15bbf5a034404 | |
parent | f5e40129a7ed79dc0db89b29eb81b0800b12fe98 (diff) | |
download | vyatta-cfg-vpn-eafa74284e1122683a756cdf935092da5df33f87.tar.gz vyatta-cfg-vpn-eafa74284e1122683a756cdf935092da5df33f87.zip |
add back CLI node for disabling uniqreqid
-rwxr-xr-x | scripts/vpn-config.pl | 7 | ||||
-rw-r--r-- | templates/vpn/ipsec/disable-uniqreqids/node.def | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index 7b783db..bcc0c0e 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -400,6 +400,13 @@ if ( $vcVPN->exists('ipsec') ) { $genout .= "\tplutodebug=\"$debugmode\"\n"; } + # Set plutoopts: + # Disable uniqreqids? + # + if ($vcVPN->exists('ipsec disable-uniqreqids')) { + $genout .= "\tdisableuniqreqids=yes\n"; + } + # # Disable implicit connections # diff --git a/templates/vpn/ipsec/disable-uniqreqids/node.def b/templates/vpn/ipsec/disable-uniqreqids/node.def new file mode 100644 index 0000000..18fb099 --- /dev/null +++ b/templates/vpn/ipsec/disable-uniqreqids/node.def @@ -0,0 +1 @@ +help: Disable requirement for unique IDs in the Security Database |