package: swconfig: let variable name be local
authorJohn Crispin <blogic@openwrt.org>
Wed, 4 Jun 2014 07:20:31 +0000 (07:20 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 4 Jun 2014 07:20:31 +0000 (07:20 +0000)
commit272e00a679c20ad0412329f122a72b8fbe7843f2
tree8ad2ceffcc11fe4df3f6816888c053651f184ac7
parent63b35378174dd36ad4d9b79c31e9b15abe498b88
package: swconfig: let variable name be local

Let the first parameter of function config_get be local, because there
is a chance that config_get won't export the variable.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41000 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/config/swconfig/files/switch.sh