summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-02-13 17:14:37 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-02-13 17:14:37 +0200
commitb0f34f5fbdb0fba2e0bef279af9022775085708e (patch)
tree0bb7e245737b85f73db236b7d5e5431bb59902b1 /interface-definitions
parent9d8bcc8096ae00aa49bd91098728ad74117cd99d (diff)
downloadvyos-1x-b0f34f5fbdb0fba2e0bef279af9022775085708e.tar.gz
vyos-1x-b0f34f5fbdb0fba2e0bef279af9022775085708e.zip
ipsec: T4968: Added default values to dpd and close action
Based on https://docs.strongswan.org/docs/5.9/swanctl/swanctlConf.html Added default value to dpd_action - clear Added default value to close_action - none
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vpn-ipsec.xml.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface-definitions/vpn-ipsec.xml.in b/interface-definitions/vpn-ipsec.xml.in
index 9d20926ec..5ba9c9388 100644
--- a/interface-definitions/vpn-ipsec.xml.in
+++ b/interface-definitions/vpn-ipsec.xml.in
@@ -269,6 +269,7 @@
<regex>(none|hold|restart)</regex>
</constraint>
</properties>
+ <defaultValue>none</defaultValue>
</leafNode>
<node name="dead-peer-detection">
<properties>
@@ -297,6 +298,7 @@
<regex>(hold|clear|restart)</regex>
</constraint>
</properties>
+ <defaultValue>clear</defaultValue>
</leafNode>
<leafNode name="interval">
<properties>