summaryrefslogtreecommitdiffstats
path: root/package/netifd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-21 20:34:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-21 20:34:41 +0000
commitd7fd21d6b0fc76e29c9a61235c199297b7b29196 (patch)
tree0ad9e121b11af3d953117a91852143a8bc5ba7ef /package/netifd
parentc72e8d4225025a4c71e988c8490bcaa0e707b629 (diff)
netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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