From: Jo-Philipp Wich Date: Fri, 9 Jul 2010 00:17:31 +0000 (+0000) Subject: 6in4: automatically determine wan interface in hotplug events X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9b5e8c5913c9ccb3d3cb88d1527786032a1dac06;p=openwrt%2Fstaging%2Frobimarko.git 6in4: automatically determine wan interface in hotplug events SVN-Revision: 22102 --- 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