diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-03-09 19:18:09 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2020-03-09 19:18:09 +0200 |
commit | bccc44d196cc6b7149510d750946a64eecbf2b6e (patch) | |
tree | 45fd93c55e149295746dce9a916bbb0dfa223b89 /scripts | |
parent | 7eb63450e821e7e322cc5211499fa94c31480ec4 (diff) | |
parent | 3a192885d754ca71051cb3420e17de570c1aa88c (diff) | |
download | vyatta-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-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. # |