summaryrefslogtreecommitdiff
path: root/package/netifd/files/lib/network/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/netifd/files/lib/network/config.sh')
-rwxr-xr-xpackage/netifd/files/lib/network/config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/netifd/files/lib/network/config.sh b/package/netifd/files/lib/network/config.sh
index 8b91f96..8fa9b1a 100755
--- a/package/netifd/files/lib/network/config.sh
+++ b/package/netifd/files/lib/network/config.sh
@@ -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