mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 00:58:25 +02:00
[package] 6in4: don't use abbreviated notation for 0.0.0.0/0, iproute apparently does not like it anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23022 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
691fd24bf2
commit
7b3bd12cf8
@ -8,8 +8,8 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=6in4
|
PKG_NAME:=6in4
|
||||||
PKG_VERSION:=5
|
PKG_VERSION:=6
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2010 OpenWrt.org
|
# Copyright (c) 2010 OpenWrt.org
|
||||||
|
|
||||||
find_6in4_wanif() {
|
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"
|
[ -n "$if" ] && grep -qs "^ *$if:" /proc/net/dev && echo "$if"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user