]> git.99rst.org Git - openwrt-packages.git/commit
strongswan: do not use config_foreach named section globals
authorFlorian Eckert <redacted>
Thu, 9 Jul 2026 12:29:52 +0000 (14:29 +0200)
committerPhilip Prindeville <redacted>
Thu, 16 Jul 2026 20:27:36 +0000 (14:27 -0600)
commite5c5a23a8badeeb0c6d469b8e73c9f4581da04a7
treec9ba01d49b61a86924142f8cd04124a5c65bcffa
parent8c2c290a4696c27180b40c1727638fe8b9141615
strongswan: do not use config_foreach named section globals

In a previous commit, the anonymous 'ipsec' section was changed to a named
section called 'globals'. The reason for this is that this is where the
'strongswan.conf' configuration option are saved. This should only occur
once. Since only one strongswan service can be running on the system.

Therefore, in this commit, the 'config_foreach' loop is removed and
the section is permanently set to 'globals'.

This commit does not change the function and is a preparatory commit.
Assuming there is a global section named 'ipsec'.

Signed-off-by: Florian Eckert <redacted>
net/strongswan/files/swanctl.init
git clone https://git.99rst.org/PROJECT