1
0
mirror of synced 2024-11-22 13:06:02 +03:00

Update IKEv2 script

- Fix function name
This commit is contained in:
hwdsl2 2022-01-29 17:33:42 -06:00
parent 09e6a484b7
commit 4ebe582d36

View File

@ -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
}