From 0e8e6a020c045e421591cc2f587287543367e6d5 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 22 Aug 2021 11:49:35 -0500 Subject: [PATCH] New Libreswan version - Support updating to Libreswan 4.5 --- extras/vpnupgrade.sh | 10 +++++----- extras/vpnupgrade_amzn.sh | 10 +++++----- extras/vpnupgrade_centos.sh | 10 +++++----- extras/vpnupgrade_ubuntu.sh | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) 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 <