X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=inline;f=src%2Fprotocol_auth.c;h=56ff3b1243ca5cc5e22aaafb8c9499b88e6ac740;hb=c84fce52d2191df06e24737449e8983174984ddc;hp=68dd071712a4d5f1021fb98a0558036b2d028641;hpb=f6e87ab476a0faf8b124ecaaa27f967d825e6457;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 68dd0717..56ff3b12 100644 --- 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; }