mesh-olsrd: revert bullshit
everything goes in other?
This commit is contained in:
		
							parent
							
								
									58526c125d
								
							
						
					
					
						commit
						de3d85b09c
					
				| @ -189,8 +189,8 @@ apply_network('mesh_uplink', uplink_mesh, 10) | |||||||
| 
 | 
 | ||||||
| apply_network('loopback', true, 12) | apply_network('loopback', true, 12) | ||||||
| 
 | 
 | ||||||
| local client_mesh = not uci:get_bool('network', 'mesh_client', 'disabled') | local other_mesh = not uci:get_bool('network', 'mesh_other', 'disabled') | ||||||
| apply_network('mesh_client', client_mesh, 11) | apply_network('mesh_other', other_mesh, 11) | ||||||
| 
 | 
 | ||||||
| local mesh_interfaces = util.get_role_interfaces(uci, 'mesh') | local mesh_interfaces = util.get_role_interfaces(uci, 'mesh') | ||||||
| local uplink_interfaces = util.get_role_interfaces(uci, 'uplink') | local uplink_interfaces = util.get_role_interfaces(uci, 'uplink') | ||||||
| @ -204,9 +204,9 @@ for _, iface in ipairs(mesh_interfaces) do | |||||||
| 	end | 	end | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| for index, intf in ipairs(mesh_interfaces_other) do | -- for index, intf in ipairs(mesh_interfaces_other) do | ||||||
|   apply_network('mesh_' .. intf, true, 12 + index) | --   apply_network('mesh_' .. intf, true, 12 + index) | ||||||
| end | -- end | ||||||
| 
 | 
 | ||||||
| uci:save('gluon-static-ip') | uci:save('gluon-static-ip') | ||||||
| uci:save('network') | uci:save('network') | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user