From 3a192885d754ca71051cb3420e17de570c1aa88c Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Thu, 31 Oct 2019 07:45:34 +0000 Subject: T1780 Adding IPSec IKE close-action --- scripts/vpn-config.pl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/vpn-config.pl') 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 @@ -810,6 +810,14 @@ if ($vcVPN->exists('ipsec')) { $genout .= "\tdpdaction=$dpd_action\n"; } + # + # 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. -- cgit v1.2.3