gluon-mesh-batman-adv: enable bridge learning on bat0 again
Reverts d5829d87be ("gluon-mesh-batman-adv-core: disable bridge port
learning on bat0").
Fixes #1121
			
			
This commit is contained in:
		
							parent
							
								
									774d733dee
								
							
						
					
					
						commit
						1ed87c6df4
					
				| @ -34,7 +34,7 @@ uci:section('network', 'interface', 'bat0', { | |||||||
| 	auto = true, | 	auto = true, | ||||||
| 	macaddr = sysconfig.primary_mac, | 	macaddr = sysconfig.primary_mac, | ||||||
| 	multicast_router = 2, | 	multicast_router = 2, | ||||||
| 	learning = false, | 	learning = true, | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| local interfaces = uci:get_list('network', 'client', 'ifname') | local interfaces = uci:get_list('network', 'client', 'ifname') | ||||||
|  | |||||||
| @ -24,12 +24,6 @@ uci:section('network', 'interface', 'client', { | |||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| uci:delete('network', 'client_lan') | uci:delete('network', 'client_lan') | ||||||
| if sysconfig.lan_ifname then |  | ||||||
| 	uci:section('network', 'interface', 'client_lan', { |  | ||||||
| 		unicast_flood = false, |  | ||||||
| 		ifname = sysconfig.lan_ifname, |  | ||||||
| 	}) |  | ||||||
| end |  | ||||||
| 
 | 
 | ||||||
| uci:delete('network', 'local_node_route6') | uci:delete('network', 'local_node_route6') | ||||||
| uci:section('network', 'route6', 'local_node_route6', { | uci:section('network', 'route6', 'local_node_route6', { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user