projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disable PMTU discovery when TCPOnly is used.
[oweals/tinc.git]
/
src
/
protocol_auth.c
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index 68dd071712a4d5f1021fb98a0558036b2d028641..56ff3b1243ca5cc5e22aaafb8c9499b88e6ac740 100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-801,7
+801,7
@@
bool send_ack(connection_t *c) {
c->options |= OPTION_TCPONLY | OPTION_INDIRECT;
}
- if(myself->options & OPTION_PMTU_DISCOVERY) {
+ if(myself->options & OPTION_PMTU_DISCOVERY
&& !(c->options & OPTION_TCPONLY)
) {
c->options |= OPTION_PMTU_DISCOVERY;
}