|  | @@ -284,11 +284,11 @@ function mesh_batman {
 | 
	
		
			
			| 284 | 284 |    echo '    fi' >> $batman_script
 | 
	
		
			
			| 285 | 285 |    echo '' >> $batman_script
 | 
	
		
			
			| 286 | 286 |    echo '    iptables -A INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 287 |  | -  echo '    iptables -A INPUT -p tcp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 287 | +  echo '    iptables -A INPUT -p udp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 288 | 288 |    echo '    iptables -A INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 289 |  | -  echo '    iptables -A INPUT -p tcp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 289 | +  echo '    iptables -A INPUT -p udp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 290 | 290 |    echo '    iptables -A INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 291 |  | -  echo '    iptables -A INPUT -p tcp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 291 | +  echo '    iptables -A INPUT -p udp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 292 | 292 |    echo '' >> $batman_script
 | 
	
		
			
			| 293 | 293 |    echo '    if [ -f /bin/systemctl ]; then' >> $batman_script
 | 
	
		
			
			| 294 | 294 |    echo '        systemctl restart avahi-daemon' >> $batman_script
 | 
	
	
		
			
			|  | @@ -321,11 +321,11 @@ function mesh_batman {
 | 
	
		
			
			| 321 | 321 |    echo '    iwconfig $IFACE mode managed' >> $batman_script
 | 
	
		
			
			| 322 | 322 |    echo '' >> $batman_script
 | 
	
		
			
			| 323 | 323 |    echo '    iptables -D INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 324 |  | -  echo '    iptables -D INPUT -p tcp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 324 | +  echo '    iptables -D INPUT -p udp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 325 | 325 |    echo '    iptables -D INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 326 |  | -  echo '    iptables -D INPUT -p tcp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 326 | +  echo '    iptables -D INPUT -p udp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 327 | 327 |    echo '    iptables -D INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 328 |  | -  echo '    iptables -D INPUT -p tcp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 328 | +  echo '    iptables -D INPUT -p udp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 329 | 329 |    echo '' >> $batman_script
 | 
	
		
			
			| 330 | 330 |    echo '    if [ -f /bin/systemctl ]; then' >> $batman_script
 | 
	
		
			
			| 331 | 331 |    echo '        systemctl restart network-manager' >> $batman_script
 |