Always reply to MTU probes via UDP.
It could sometime happen that a node would return MTU probes via TCP, which does not make a lot of sense.
This commit is contained in:
		
							parent
							
								
									cddcdc9af3
								
							
						
					
					
						commit
						a8f7fccbc2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -135,7 +135,7 @@ void mtu_probe_h(node_t *n, vpn_packet_t *packet, length_t len) { | |||
| 
 | ||||
| 	if(!packet->data[0]) { | ||||
| 		packet->data[0] = 1; | ||||
| 		send_packet(n, packet); | ||||
| 		send_udppacket(n, packet); | ||||
| 	} else { | ||||
| 		if(len > n->maxmtu) | ||||
| 			len = n->maxmtu; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue