From a8f7fccbc2b5f1c4c39fc2804abaa358b31a5080 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 24 Oct 2009 21:32:06 +0200 Subject: [PATCH] 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. --- src/net_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net_packet.c b/src/net_packet.c index 7bf12497..626f8b1c 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -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; -- 2.20.1