Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
PKG_NAME:=strongswan
PKG_VERSION:=5.9.2
-PKG_RELEASE:=11
+PKG_RELEASE:=12
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
export -n "$var=$crypto"
}
-config_conn() {
+config_child() {
# Generic ipsec conn section shared by tunnel and transport
local config_name="$1"
local mode="$2"
}
config_tunnel() {
- config_conn "$1" "tunnel"
+ config_child "$1" "tunnel"
}
config_transport() {
- config_conn "$1" "transport"
+ config_child "$1" "transport"
}
-config_remote() {
+config_connection() {
local config_name="$1"
local enabled
config_load ipsec
config_foreach config_ipsec ipsec
- config_foreach config_remote remote
+ config_foreach config_connection remote
do_postamble
}