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)
commita5f5f7bb26a20b1f3faccaa8adf3d435dd355f49
treed3b010661d0368979d2616bbe8b98e6b3515ba89
parent1d006880c53e23ecc5b48f810c11683f212e033f
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