mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-12 15:59:43 +02:00
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
This commit is contained in:
parent
c72e8d4225
commit
d7fd21d6b0
@ -36,7 +36,7 @@ ubus_call() {
|
|||||||
|
|
||||||
fixup_interface() {
|
fixup_interface() {
|
||||||
local config="$1"
|
local config="$1"
|
||||||
local ifname
|
local ifname type
|
||||||
|
|
||||||
config_get type "$config" type
|
config_get type "$config" type
|
||||||
config_get ifname "$config" ifname
|
config_get ifname "$config" ifname
|
||||||
|
Loading…
Reference in New Issue
Block a user