summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-21 20:34:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-21 20:34:41 +0000
commitbfa643c7ef15ddf18066e9cf13a15fc9f687613d (patch)
treee996938d15da70a58076cc8ef4a92a858f0bd4c9 /package
parentc233a89ab490383bf8137a15118d82b12ac41b8b (diff)
downloadmaster-31e0f0ae-bfa643c7ef15ddf18066e9cf13a15fc9f687613d.tar.gz
master-31e0f0ae-bfa643c7ef15ddf18066e9cf13a15fc9f687613d.tar.bz2
master-31e0f0ae-bfa643c7ef15ddf18066e9cf13a15fc9f687613d.zip
netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
SVN-Revision: 31430
Diffstat (limited to 'package')
-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 8fa9b1ac3d..287124de66 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