summaryrefslogtreecommitdiffstats
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 3b3ae93404..9128971dab 100755
--- a/package/netifd/files/lib/network/config.sh
+++ b/package/netifd/files/lib/network/config.sh
@@ -5,6 +5,7 @@
find_config() {
local device="$1"
+ local ifdev ifl3dev ifobj
for ifobj in `ubus list network.interface.\*`; do
interface="${ifobj##network.interface.}"
(
@@ -36,7 +37,7 @@ ubus_call() {
fixup_interface() {
local config="$1"
- local ifname type
+ local ifname type device l3dev
config_get type "$config" type
config_get ifname "$config" ifname