mirror of https://github.com/hak5/openwrt.git
netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
SVN-Revision: 31430lede-17.01
parent
c233a89ab4
commit
bfa643c7ef
|
@ -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