summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/netifd/files/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/netifd/files/lib/network/config.sh b/package/netifd/files/lib/network/config.sh
index 8fa9b1ac3..287124de6 100755
--- a/package/netifd/files/lib/network/config.sh
+++ b/package/netifd/files/lib/network/config.sh
@@ -36,7 +36,7 @@ ubus_call() {
fixup_interface() {
local config="$1"
- local ifname
+ local ifname type
config_get type "$config" type
config_get ifname "$config" ifname