mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 10:07:40 +04:00
strongswan: fix ipsec globals section type
When the 'ipsec' section type was migrated to 'globals', the section
type was overlooked in '/etc/config/ipsec' and in the
config_foreach call in 'swanctl.init'. Both still referred to the old
'type', so the globals section was not picked up.
Fixes: e5c5a23a8 ("strongswan: do not use config_foreach named section globals")
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
1 parent
86e8350674
commit
46f564fada
2 files changed
+2
-2
No files matched your search
@@ -4,6 +4,6 @@
|
||||
# This is the 'globals' config section for the 'strongswan.conf' file.
|
||||
# For LuCI the section type ipsec should only appear once. It must therefore
|
||||
# always be present and should not be added or removed manually.
|
||||
config ipsec 'globals'
|
||||
config globals 'globals'
|
||||
|
||||
config syslog 'syslog'
|
||||
@@ -825,7 +825,7 @@ service_triggers() {
|
||||
procd_add_reload_trigger "ipsec"
|
||||
config load "ipsec"
|
||||
|
||||
config_foreach service_trigger_ipsec ipsec
|
||||
config_foreach service_trigger_ipsec globals
|
||||
}
|
||||
|
||||
service_trigger_ipsec() {
|
||||
|
||||
Reference in new issue
Block a user