gluon-core: reenable multicast snooping on WAN side
Just like we enabled multicast snooping on the batman-adv client bridge again, let's do the same for the WAN side. With one exception: The IGMP/MLD querier is kept disabled to avoid becoming too "bossy"/"noisy" on a foreign network. The main router on the WAN side should perform querying and by that enable IGMP/MLD/snooping if it considers this appropriate there. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
This commit is contained in:
		
							parent
							
								
									2a51d94fbb
								
							
						
					
					
						commit
						6594ba314c
					
				| @ -9,11 +9,12 @@ uci:section('network', 'interface', 'wan', | |||||||
| 	    { | 	    { | ||||||
| 	      ifname = sysconfig.wan_ifname, | 	      ifname = sysconfig.wan_ifname, | ||||||
| 	      type = 'bridge', | 	      type = 'bridge', | ||||||
| 	      igmp_snooping = 0, | 	      multicast_querier = 0, | ||||||
| 	      peerdns = 0, | 	      peerdns = 0, | ||||||
| 	      auto = 1, | 	      auto = 1, | ||||||
| 	    } | 	    } | ||||||
| ) | ) | ||||||
|  | uci:delete('network', 'wan', 'igmp_snooping') | ||||||
| 
 | 
 | ||||||
| if not uci:get('network', 'wan', 'proto') then | if not uci:get('network', 'wan', 'proto') then | ||||||
|   uci:set('network', 'wan', 'proto', 'dhcp') |   uci:set('network', 'wan', 'proto', 'dhcp') | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user