From 9068e1a98e8d74484bc6cadc7b12944515e12191 Mon Sep 17 00:00:00 2001 From: Ruben Herold Date: Sat, 31 Oct 2026 08:21:49 +0100 Subject: ipsec: T9543: start a peer again on reset when connection-type is unset A site-to-site peer without connection-type is started at commit, because the router treats an unset value as initiate. The reset command only started a peer again when initiate was set explicitly in the configuration. After a reset such a peer was terminated and stayed down, including its VTI interface. Make initiate the default value of connection-type in the CLI definition, so every consumer sees the same value, and read the peer configuration with defaults in the reset command. A peer that is disabled, whose name starts with an at sign or whose remote address is any is not started at commit, so reset keeps skipping it instead of reporting a failed initiation. --- interface-definitions/vpn_ipsec.xml.in | 1 + 1 file changed, 1 insertion(+) (limited to 'interface-definitions') diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index 2f3c46fdb..a62aec7a7 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -1224,6 +1224,7 @@ (initiate|trap|none) + initiate -- cgit v1.2.3