From: Dirk Brenken Date: Mon, 27 Jun 2022 09:27:17 +0000 (+0200) Subject: travelmate: update 2.0.8-3 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f0477d94993ab1ec297b317fbb6a167ed7c482ca;p=feed%2Fpackages.git travelmate: update 2.0.8-3 * refine vpn timeout Signed-off-by: Dirk Brenken --- diff --git a/net/travelmate/Makefile b/net/travelmate/Makefile index 861be6544f..baef13d780 100644 --- a/net/travelmate/Makefile +++ b/net/travelmate/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=travelmate PKG_VERSION:=2.0.8 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Dirk Brenken diff --git a/net/travelmate/files/travelmate.vpn b/net/travelmate/files/travelmate.vpn index bd05598bfb..0bffa1286d 100755 --- a/net/travelmate/files/travelmate.vpn +++ b/net/travelmate/files/travelmate.vpn @@ -67,7 +67,7 @@ if [ "${vpn}" = "1" ] && [ "${vpn_action}" = "enable" ] && [ "${vpn_status:-"fal break fi fi - if [ "${cnt}" -ge "$((trm_maxwait / 6))" ]; then + if [ "${cnt}" -ge "$((trm_maxwait / 3))" ]; then "${trm_logger}" -p "info" -t "trm-vpn [${$}]" "${vpn_service} client connection can't be established" 2>/dev/null ubus call network.interface."${vpn_iface}" down exit 1