mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-23 17:04:44 +02: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:
parent
2da93c7e15
commit
768650413e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user