summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-03-09 19:18:09 +0200
committerDaniil Baturin <daniil@vyos.io>2020-03-09 19:18:09 +0200
commitbccc44d196cc6b7149510d750946a64eecbf2b6e (patch)
tree45fd93c55e149295746dce9a916bbb0dfa223b89 /scripts
parent7eb63450e821e7e322cc5211499fa94c31480ec4 (diff)
parent3a192885d754ca71051cb3420e17de570c1aa88c (diff)
downloadvyatta-cfg-vpn-vyos/1.2.5.tar.gz
vyatta-cfg-vpn-vyos/1.2.5.zip
Merge branch 'crux' of github.com:vyos/vyatta-cfg-vpn into cruxvyos/1.2.5
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vpn-config.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index d68e419..369e568 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -811,6 +811,14 @@ if ($vcVPN->exists('ipsec')) {
}
#
+ # Check for closeaction
+ #
+ my $close_act = $vcVPN->returnValue("ipsec ike-group $ike_group close-action");
+ if (defined($close_act)) {
+ $genout .= "\tcloseaction=$close_act\n";
+ }
+
+ #
# Allow the user for force UDP encapsulation for the ESP
# payload.
#