6rd: make host dependency more specific
[openwrt/staging/chunkeey.git] / package / network / ipv6 / 6rd / files / 6rd.sh
index 287f569885a32b5cd1eee5b8aace2e0966a05969..b48513640e848535cb51d82cdf4c7d040235e782 100644 (file)
@@ -23,7 +23,7 @@ proto_6rd_setup() {
                return
        }
 
-       ( proto_add_host_dependency "$cfg" 0.0.0.0 "$tunlink" )
+       ( proto_add_host_dependency "$cfg" "$peeraddr" "$tunlink" )
 
        [ -z "$ipaddr" ] && {
                local wanif="$tunlink"