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 <[email protected]>
--- a/package/network/ipv6/6rd/files/6rd.sh     (revision 44437)
+++ b/package/network/ipv6/6rd/files/6rd.sh     (working copy)
@@ -33,7 +33,8 @@
                fi
 
                if ! network_get_ipaddr ipaddr "$wanif"; then
-                       proto_notify_error "$cfg" "NO_WAN_LINK"
+                       sleep 60
+                       proto_setup_failed "$cfg"
                        return
                fi
        }
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to