Skip to content
Snippets Groups Projects
Commit 6df99730 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

netifd: scan l3 devices on find_config()

SVN-Revision: 31033
parent 6a30a0d9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment