From d845c3dc35b232fb84705b6a8b4410e5398927e2 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Mon, 27 Jun 2022 11:27:17 +0200 Subject: [PATCH] travelmate: update 2.0.8-3 * refine vpn timeout Signed-off-by: Dirk Brenken (cherry picked from commit f0477d94993ab1ec297b317fbb6a167ed7c482ca) --- net/travelmate/Makefile | 2 +- net/travelmate/files/travelmate.vpn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/travelmate/Makefile b/net/travelmate/Makefile index 861be6544..baef13d78 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 bd05598bf..0bffa1286 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