netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
SVN-Revision: 31430
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user