]> git.99rst.org Git - openwrt-packages.git/commit
strongswan: rename 'local_ip' to 'local_addrs'
authorFlorian Eckert <redacted>
Thu, 23 Jul 2026 14:18:18 +0000 (16:18 +0200)
committerFlorian Eckert <redacted>
Mon, 3 Aug 2026 09:07:41 +0000 (11:07 +0200)
commit07450023bca29dec13b3ddeb349af1fb8eb62fbe
treeccc491495c30e3e9534d2aa465adadc2e4c43d4b
parentb0c5835445ff3cf471179f2bf4df1e6ab1ce8932
strongswan: rename 'local_ip' to 'local_addrs'

Rename the 'local_ip' UCI option to 'local_addrs' to match the
'swanctl.conf' 'local_addrs' directive, which accepts one or more
local addresses rather than implying a single fixed IP. The
previous name suggested only one address could be configured.

Store the option as a UCI list to allow specifying multiple local
addresses, consistent with how 'remote_addrs' is already handled.
If left empty, no 'local_addrs' line is written to 'swanctl.conf',
so strongswan falls back to its own default of '%any'.

Add a uci-defaults migration script to convert existing 'local_ip'
entries (whether stored as a plain option or as a list) to a
'local_addrs' list on upgrade.

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