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 0d21be091bb6b2b0f45cc2ec1400b3060e87a305..6d1435bcec381d2ee944fa3c6e365bbb8fd1125c 100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-520,7
+520,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;
}