From: Jo-Philipp Wich Date: Sat, 11 Sep 2010 18:58:17 +0000 (+0000) Subject: 6in4: don't use abbreviated notation for 0.0.0.0/0, iproute apparently does not like... X-Git-Tag: reboot~18932 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9499018b9ac80ef74aeac3bffea006855dc11bfe;p=openwrt%2Fstaging%2Fblogic.git 6in4: don't use abbreviated notation for 0.0.0.0/0, iproute apparently does not like it anymore SVN-Revision: 23022 --- diff --git a/package/6in4/Makefile b/package/6in4/Makefile index b9fa220df794..5722a486382b 100644 --- a/package/6in4/Makefile +++ b/package/6in4/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=6in4 -PKG_VERSION:=5 -PKG_RELEASE:=2 +PKG_VERSION:=6 +PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/6in4/files/6in4.sh b/package/6in4/files/6in4.sh index 62a60dc8f66c..2af1f74b297c 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" }