diff options
author | Jason Hendry <jhendry@mintel.com> | 2014-12-01 21:21:24 +0000 |
---|---|---|
committer | Jason Hendry <jhendry@mintel.com> | 2014-12-01 21:21:24 +0000 |
commit | 259abd0641a999e390d67cb424c9093e1c0f72bf (patch) | |
tree | 06a2848e261472a02da6b92d892a38048b133aa5 | |
parent | ae063db6eb21bb52ae5e995dfa4bef195de599be (diff) | |
download | vyatta-cfg-vpn-259abd0641a999e390d67cb424c9093e1c0f72bf.tar.gz vyatta-cfg-vpn-259abd0641a999e390d67cb424c9093e1c0f72bf.zip |
Fixing syntax error in vpn-config.pl, fixing allowed parameters in the per-tunnel ikev2-reauth node
-rwxr-xr-x | scripts/vpn-config.pl | 2 | ||||
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/ikev2-reauth/node.def | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index cd4166b..2228997 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -815,7 +815,7 @@ if ($vcVPN->exists('ipsec')) { # # Get ikev2-reauth configuration # - if ((defined($key_exchange) && ($key_exchange eq 'ikev2')) { + if ((defined($key_exchange)) && ($key_exchange eq 'ikev2')) { my $ikev2_tunnel_reauth = $vcVPN->returnValue("ipsec site-to-site peer $peer ikev2-reauth"); if ((defined($ikev2_tunnel_reauth)) && ($ikev2_tunnel_reauth ne 'inherit')) { diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/ikev2-reauth/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/ikev2-reauth/node.def index 8aee33e..8e1c6d7 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/ikev2-reauth/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/ikev2-reauth/node.def @@ -1,7 +1,7 @@ help: Re-authentication of the remote peer during an IKE re-key. IKEv2 option only type: txt default: "inherit" -syntax:expression: $VAR(@) in "yes", "no"; "must be yes, no or inherit (Default)" +syntax:expression: $VAR(@) in "yes", "no", "inherit"; "must be yes, no or inherit (Default)" val_help: yes; Enable remote host re-autentication during an IKE re-key. Currently broken due to a strong swan bug val_help: no; Disable remote host re-authenticaton during an IKE re-key. -val_help: inherit; Inherit the reauth configuration form your IKE-group +val_help: inherit; Inherit the reauth configuration form your IKE-group (Default) |