netifd: make type a local variable in /lib/network/config.sh to avoid clashes with...
[openwrt/svn-archive/archive.git] / package / netifd / files / lib / network / config.sh
index 8fa9b1ac3dd6354e4f82b747b349ffc2e22ed16e..287124de66312e7fb972e70855fe0181780c7a61 100755 (executable)
@@ -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