diff --git a/extras/vpnupgrade.sh b/extras/vpnupgrade.sh index 437d217..be4b0f7 100755 --- a/extras/vpnupgrade.sh +++ b/extras/vpnupgrade.sh @@ -15,7 +15,7 @@ # know how you have improved it! # Specify which Libreswan version to install. See: https://libreswan.org -SWAN_VER=4.4 +SWAN_VER=4.5 ### DO NOT edit below this line ### @@ -75,16 +75,16 @@ check_os() { fi } -check_swan_ver() { +check_libreswan() { case $SWAN_VER in - 3.32|4.[1234]) + 3.32|4.[1-5]) true ;; *) cat 1>&2 <&2 <&2 <&2 <