diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-21 20:34:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-21 20:34:41 +0000 |
commit | fe7e861b0670ec3fafb59b85fbce81e292cd2887 (patch) | |
tree | 0ad9e121b11af3d953117a91852143a8bc5ba7ef /package | |
parent | e95852bfa990ba31a6c6cbdb5d079b1590ebf08a (diff) | |
download | upstream-fe7e861b0670ec3fafb59b85fbce81e292cd2887.tar.gz upstream-fe7e861b0670ec3fafb59b85fbce81e292cd2887.tar.bz2 upstream-fe7e861b0670ec3fafb59b85fbce81e292cd2887.zip |
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')
-rwxr-xr-x | package/netifd/files/lib/network/config.sh | 2 |
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 |