[OpenWrt-Devel] [netifd] proto_add_host_dependency()

Dan Lüdtke mail at danrl.com
Mon Nov 14 14:45:50 EST 2016


Hi everyone,

I have a weird situation where proto_add_host_dependency() does not like IPv6 addresses. The WAN/WAN6 interface don't have global unicast addresses assigned, but my protocol script calls

  proto_add_host_dependency "${config}" "${ip}"

with $ip containing a global unicast address. Interface setup fails. If I use IPv4 instead, interface setup succeeds.

I a bit puzzled, because I think I have seen this working before.
Testing on latest snapshot.

Any ideas?

Dan

Background: https://github.com/danrl/luci-proto-wireguard/issues/5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list