6rd: honor tunlink in host dependency

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44541
This commit is contained in:
Steven Barth 2015-02-26 07:42:12 +00:00
parent 0f365e4cb9
commit 547ac60813
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6rd
PKG_VERSION:=7
PKG_VERSION:=8
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
@ -19,7 +19,7 @@ define Package/6rd
CATEGORY:=Network
DEPENDS:=+kmod-ipv6 +kmod-sit
TITLE:=6rd configuration support
MAINTAINER:=Stéphan Kochen <stephan@kochen.nl>
MAINTAINER:=Steven Barth <cyrus@openwrt.org>
PKGARCH:=all
endef

View file

@ -23,7 +23,7 @@ proto_6rd_setup() {
return
}
( proto_add_host_dependency "$cfg" 0.0.0.0 )
( proto_add_host_dependency "$cfg" 0.0.0.0 "$tunlink" )
[ -z "$ipaddr" ] && {
local wanif="$tunlink"