summaryrefslogtreecommitdiff
path: root/package/netifd
diff options
context:
space:
mode:
Diffstat (limited to 'package/netifd')
-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 8fa9b1a..287124d 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