odhcp6c: add route-workaround for broken IPv6-ISPs
authorSteven Barth <cyrus@openwrt.org>
Mon, 6 Oct 2014 11:19:33 +0000 (11:19 +0000)
committerSteven Barth <cyrus@openwrt.org>
Mon, 6 Oct 2014 11:19:33 +0000 (11:19 +0000)
commit8691d75917d91a39f2011d4ddd0713b8562e5e3a
tree6dd6cabc1df6ef8098bc22aa2ba07c2bb6ad6f94
parent8243e5716747c4a7b47261c00c00afcebee0c593
odhcp6c: add route-workaround for broken IPv6-ISPs

Some ISP seem to only do stateful DHCPv6 and not sending RAs.
This is technically broken because plain DHCPv6 doesn't carry routes.

We work around here by faking a default route to the DHCPv6 server
if we do not receive a useful RA from the ISP.

This workaround can be turned off with: option fakeroutes 0

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42803
package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.script
package/network/ipv6/odhcp6c/files/dhcpv6.sh