mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
[package] 6in4: automatically determine wan interface in hotplug events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22102 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
221490f6b4
commit
7742ebec30
@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=6in4
|
||||
PKG_VERSION:=2
|
||||
PKG_VERSION:=3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
@ -14,7 +14,7 @@ if [ "$ACTION" = ifup ]; then
|
||||
[ "$proto" = 6in4 ] || return 0
|
||||
|
||||
local wandev
|
||||
config_get wandev "$cfg" wan_device
|
||||
config_get wandev "$cfg" wan_device "$(find_6in4_wanif)"
|
||||
[ "$wandev" = "$DEVICE" ] || return 0
|
||||
|
||||
local oldip
|
||||
|
Loading…
Reference in New Issue
Block a user