1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 10:58:12 +03:00

netifd: scan l3 devices on find_config()

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31033 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-03-19 21:09:54 +00:00
parent 2da93c7e15
commit 768650413e

View File

@ -10,7 +10,8 @@ find_config() {
(
json_load "$(ifstatus $interface)"
json_get_var ifdev device
if [[ "$device" = "$ifdev" ]]; then
json_get_var ifl3dev l3_device
if [[ "$device" = "$ifdev" ]] || [[ "$device" = "$ifl3dev" ]]; then
echo "$interface"
exit 0
else