summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vpn-config.pl')
-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.
#