summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJason Hendry <jhendry@mintel.com>2014-12-01 21:21:24 +0000
committerJason Hendry <jhendry@mintel.com>2014-12-01 21:21:24 +0000
commit259abd0641a999e390d67cb424c9093e1c0f72bf (patch)
tree06a2848e261472a02da6b92d892a38048b133aa5 /scripts
parentae063db6eb21bb52ae5e995dfa4bef195de599be (diff)
downloadvyatta-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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vpn-config.pl2
1 files changed, 1 insertions, 1 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')) {