diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-07-09 00:17:31 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-07-09 00:17:31 +0000 |
commit | 7742ebec302b42f4e7152b394eb5db7023e2faa4 (patch) | |
tree | 2738e2e1e3eeb1d0af1994e125dd65564e71bb19 /package | |
parent | 221490f6b4eea24293c33f5b3fb5af422ddd11bc (diff) |
[package] 6in4: automatically determine wan interface in hotplug events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22102 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/6in4/Makefile | 2 | ||||
-rw-r--r-- | package/6in4/files/6in4.hotplug | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/6in4/Makefile b/package/6in4/Makefile index d88ee16066..75e7848825 100644 --- a/package/6in4/Makefile +++ b/package/6in4/Makefile @@ -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 diff --git a/package/6in4/files/6in4.hotplug b/package/6in4/files/6in4.hotplug index 0a196c25b0..96b046d14d 100644 --- a/package/6in4/files/6in4.hotplug +++ b/package/6in4/files/6in4.hotplug @@ -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 |