Browse Source

travelmate: update 2.0.8-3

* refine vpn timeout

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f0477d9499)
lilik-openwrt-22.03
Dirk Brenken 3 years ago
parent
commit
d845c3dc35
No known key found for this signature in database GPG Key ID: 9D71CD547BFAE684
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/travelmate/Makefile
  2. +1
    -1
      net/travelmate/files/travelmate.vpn

+ 1
- 1
net/travelmate/Makefile View File

@ -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 <dev@brenken.org>


+ 1
- 1
net/travelmate/files/travelmate.vpn View File

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


Loading…
Cancel
Save