odhcp6c: add route-workaround for broken IPv6-ISPs
authorSteven Barth <cyrus@openwrt.org>
Wed, 8 Oct 2014 10:00:36 +0000 (10:00 +0000)
committerSteven Barth <cyrus@openwrt.org>
Wed, 8 Oct 2014 10:00:36 +0000 (10:00 +0000)
commitfa830873d6a8e055bc294ac4b2634975f5e89ac0
treef676ffe92cf639ae213ae68ed429d00efd65d09f
parent71011136e220913de4c8c31bb68d6d5ecdf8e418
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: 42842
package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.script
package/network/ipv6/odhcp6c/files/dhcpv6.sh