summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-12-04 15:40:10 +0000
committerGitHub <noreply@github.com>2025-12-04 15:40:10 +0000
commit02034e4fd77e8af64a7f6a66e5da7fefcd4a9e90 (patch)
tree50651314184ad9f6ced232bd633f23436219ec66 /data
parent0544895af02cbc0ff882cded3c2774469a41cbc7 (diff)
parent2dc91c0a96c3d3212387be02b80c58fce7c68bd8 (diff)
downloadvyos-1x-02034e4fd77e8af64a7f6a66e5da7fefcd4a9e90.tar.gz
vyos-1x-02034e4fd77e8af64a7f6a66e5da7fefcd4a9e90.zip
Merge pull request #4881 from alexandr-san4ez/T7594-current
ipsec: T7594: Rename `respond` connection-type in IPSec peer settings to `trap`
Diffstat (limited to 'data')
-rw-r--r--data/templates/ipsec/swanctl/peer.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/ipsec/swanctl/peer.j2 b/data/templates/ipsec/swanctl/peer.j2
index 518402c53..15b5f5956 100644
--- a/data/templates/ipsec/swanctl/peer.j2
+++ b/data/templates/ipsec/swanctl/peer.j2
@@ -27,7 +27,7 @@
reauth_time = 0
{% elif peer_conf.connection_type is not vyos_defined or peer_conf.connection_type is vyos_defined('initiate') %}
keyingtries = 0
-{% elif peer_conf.connection_type is vyos_defined('respond') %}
+{% elif peer_conf.connection_type is vyos_defined('trap') %}
keyingtries = 1
{% endif %}
{% if peer_conf.force_udp_encapsulation is vyos_defined %}
@@ -96,7 +96,7 @@
start_action = none
{% elif peer_conf.connection_type is not vyos_defined or peer_conf.connection_type is vyos_defined('initiate') %}
start_action = start
-{% elif peer_conf.connection_type is vyos_defined('respond') %}
+{% elif peer_conf.connection_type is vyos_defined('trap') %}
start_action = trap
{% elif peer_conf.connection_type is vyos_defined('none') %}
start_action = none
@@ -160,7 +160,7 @@
start_action = none
{% elif peer_conf.connection_type is not vyos_defined or peer_conf.connection_type is vyos_defined('initiate') %}
start_action = start
-{% elif peer_conf.connection_type is vyos_defined('respond') %}
+{% elif peer_conf.connection_type is vyos_defined('trap') %}
start_action = trap
{% elif peer_conf.connection_type is vyos_defined('none') %}
start_action = none