From: Florian Eckert Date: Thu, 23 Jul 2026 05:57:39 +0000 (+0200) Subject: strongswan: reorder local var in config_child function X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1ac4335cd6d652d67c75e49b0d619635b14f1019;p=openwrt-packages.git strongswan: reorder local var in config_child function The local variables were completely jumbled. To keep track of them, they have been sorted to the order in which the following 'config_get' calls are made. No functional change. Signed-off-by: Florian Eckert --- diff --git a/net/strongswan/files/swanctl.init b/net/strongswan/files/swanctl.init index 13a7a1278..a2b5a8a9c 100644 --- a/net/strongswan/files/swanctl.init +++ b/net/strongswan/files/swanctl.init @@ -225,26 +225,26 @@ config_child() { local conf="$1" local mode="$2" - local hw_offload - local interface - local ipcomp - local priority - local local_subnet + local startaction local local_nat local updown local firewall - local remote_subnet local lifetime local dpdaction local closeaction - local startaction local if_id local rekeytime + local ipcomp + local interface + local hw_offload + local priority local rekeybytes local lifebytes local rekeypackets local lifepackets local replay_window + local local_subnet + local remote_subnet config_get startaction "$conf" startaction "route" config_get local_nat "$conf" local_nat ""