Browse Source

vpnc: fix using proto_add_host_dependency

Fixes #4343

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 7 years ago
parent
commit
d438de95a6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/vpnc/Makefile
  2. +1
    -1
      net/vpnc/files/vpnc.sh

+ 1
- 1
net/vpnc/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vpnc
PKG_REV:=550
PKG_VERSION:=0.5.3.r$(PKG_REV)
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://svn.unix-ag.uni-kl.de/vpnc/trunk/


+ 1
- 1
net/vpnc/files/vpnc.sh View File

@ -43,7 +43,7 @@ proto_vpnc_setup() {
logger -t vpnc "initializing..."
serv_addr=
for ip in $(resolveip -t 10 "$server"); do
( proto_add_host_dependency "vpn-$config" "$ip" $interface )
( proto_add_host_dependency "$config" "$ip" $interface )
serv_addr=1
done
[ -n "$serv_addr" ] || {


Loading…
Cancel
Save