diff options
author | DmitriyEshenko <snooppy@mail.ua> | 2019-10-31 07:45:34 +0000 |
---|---|---|
committer | DmitriyEshenko <snooppy@mail.ua> | 2019-10-31 07:45:34 +0000 |
commit | 495c59a20cf35aeb5449f9166859f823c0ab08a7 (patch) | |
tree | b43d2f4be0894f4ff41a24da4432b1b30f9188e1 /scripts | |
parent | 2ff7343c11aad93d1d6e00c9bb8ac316d9320227 (diff) | |
download | vyatta-cfg-vpn-495c59a20cf35aeb5449f9166859f823c0ab08a7.tar.gz vyatta-cfg-vpn-495c59a20cf35aeb5449f9166859f823c0ab08a7.zip |
T1780 Adding IPSec IKE close-action
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vpn-config.pl | 8 |
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. # |