From 4ebe582d36adaa540e57aa3fd8eb0c843548b6b5 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 29 Jan 2022 17:33:42 -0600 Subject: [PATCH] Update IKEv2 script - Fix function name --- extras/ikev2setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/ikev2setup.sh b/extras/ikev2setup.sh index 65d051a..c4448b1 100755 --- a/extras/ikev2setup.sh +++ b/extras/ikev2setup.sh @@ -1130,7 +1130,7 @@ https://git.io/ikev2clients EOF } -check_swan_ver() { +check_swan_update() { base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/upg-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 3 -T 15 -qO- "$swan_ver_url" | head -n 1) @@ -1439,7 +1439,7 @@ ikev2setup() { print_setup_complete print_client_info if [ "$in_container" = "0" ]; then - check_swan_ver + check_swan_update fi }