X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fb8dd8b41b58e9772e1998fd0a7b5485142ec089..f1ffd865500873b1a84db5c748517633c9f66f82:/package/6in4/files/6in4.sh?ds=sidebyside diff --git a/package/6in4/files/6in4.sh b/package/6in4/files/6in4.sh index 62a60dc8f..2af1f74b2 100755 --- a/package/6in4/files/6in4.sh +++ b/package/6in4/files/6in4.sh @@ -2,7 +2,7 @@ # Copyright (c) 2010 OpenWrt.org find_6in4_wanif() { - local if=$(ip -4 r l e 0/0); if="${if#default* dev }"; if="${if%% *}" + local if=$(ip -4 r l e 0.0.0.0/0); if="${if#default* dev }"; if="${if%% *}" [ -n "$if" ] && grep -qs "^ *$if:" /proc/net/dev && echo "$if" }