diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-09 00:17:31 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-09 00:17:31 +0000 |
commit | 9b5e8c5913c9ccb3d3cb88d1527786032a1dac06 (patch) | |
tree | 23633d4d2296a23659f99286e6e9fb2c284133db /package/6in4/files/6in4.hotplug | |
parent | 1d45111aa57e1007321d15ac9ffe949e1a4341d7 (diff) | |
download | upstream-9b5e8c5913c9ccb3d3cb88d1527786032a1dac06.tar.gz upstream-9b5e8c5913c9ccb3d3cb88d1527786032a1dac06.tar.bz2 upstream-9b5e8c5913c9ccb3d3cb88d1527786032a1dac06.zip |
6in4: automatically determine wan interface in hotplug events
SVN-Revision: 22102
Diffstat (limited to 'package/6in4/files/6in4.hotplug')
-rw-r--r-- | package/6in4/files/6in4.hotplug | 2 |
1 files changed, 1 insertions, 1 deletions
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 |