[OpenWrt-Devel] [PATCH] Retry 6rd if wan is down

Daniel Gimpelevich daniel at gimpelevich.san-francisco.ca.us
Fri Feb 13 04:05:14 EST 2015

Currently, if you have dual WAN and the link needed for 6rd is down, it
just silently fails. This patch makes it retry in case the link comes up.

Signed-off-by: Daniel Gimpelevich <daniel at gimpelevich.san-francisco.ca.us>
--- a/package/network/ipv6/6rd/files/6rd.sh	(revision 44437)
+++ b/package/network/ipv6/6rd/files/6rd.sh	(working copy)
@@ -33,7 +33,8 @@
 		if ! network_get_ipaddr ipaddr "$wanif"; then
-			proto_notify_error "$cfg" "NO_WAN_LINK"
+			sleep 60
+			proto_setup_failed "$cfg"
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list