projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cddcdc9
)
Always reply to MTU probes via UDP.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 24 Oct 2009 19:32:06 +0000
(21:32 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 24 Oct 2009 19:32:06 +0000
(21:32 +0200)
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
patch
|
blob
|
history
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
7bf1249
..
626f8b1
100644
(file)
--- 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_
udp
packet(n, packet);
} else {
if(len > n->maxmtu)
len = n->maxmtu;