From 853a1d4baf165cba8a9f4e9c5aa01581ab8ff412 Mon Sep 17 00:00:00 2001
From: Steven Barth <cyrus@openwrt.org>
Date: Tue, 10 Mar 2015 08:43:40 +0000
Subject: [PATCH] 6in4: make host dependency more specific

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

SVN-Revision: 44635
---
 package/network/ipv6/6in4/Makefile      | 2 +-
 package/network/ipv6/6in4/files/6in4.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/ipv6/6in4/Makefile b/package/network/ipv6/6in4/Makefile
index ef9691227a..21e69e6f49 100644
--- a/package/network/ipv6/6in4/Makefile
+++ b/package/network/ipv6/6in4/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=6in4
-PKG_VERSION:=20
+PKG_VERSION:=21
 PKG_RELEASE:=1
 PKG_LICENSE:=GPL-2.0
 
diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index f8a43ce24b..0289df3031 100755
--- a/package/network/ipv6/6in4/files/6in4.sh
+++ b/package/network/ipv6/6in4/files/6in4.sh
@@ -36,7 +36,7 @@ proto_6in4_setup() {
 		return
 	}
 
-	( proto_add_host_dependency "$cfg" 0.0.0.0 )
+	( proto_add_host_dependency "$cfg" "$peeraddr" )
 
 	[ -z "$ipaddr" ] && {
 		local wanif
-- 
GitLab