[backfire] merge r23022
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 11 Sep 2010 18:58:53 +0000 (18:58 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 11 Sep 2010 18:58:53 +0000 (18:58 +0000)
SVN-Revision: 23023

package/6in4/Makefile
package/6in4/files/6in4.sh

index b9fa220df7940845327e2c1731e5bf6ecf1051d7..5722a486382bd027b352dffc3bacf5ae777b4fff 100644 (file)
@@ -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
 
index 62a60dc8f66c98efffb35b7f223b32a2fe7e6bf0..2af1f74b297c744f2886817661f8f9156e13f387 100755 (executable)
@@ -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"
 }