[package] 6in4: automatically determine wan interface in hotplug events
[openwrt.git] / package / 6in4 / files / 6in4.hotplug
index 0a196c2..96b046d 100644 (file)
@@ -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
This page took 0.022807 seconds and 4 git commands to generate.