X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=49ea31b6893f5bdf09748513bf0e88b0d5892f91;hp=314fd716fa412bb8361a6f3865c3ed085ae9d69c;hb=9e7c6d4dce8b87d40cea537fd0b035a2612580e3;hpb=7c359313aca273319f94fe18121831ab4b62a4b4 diff --git a/src/net_setup.c b/src/net_setup.c index 314fd716..49ea31b6 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -583,7 +583,7 @@ bool setup_myself_reloadable(void) { free(fmode); } - choice = true; + choice = !(myself->options & OPTION_TCPONLY); get_config_bool(lookup_config(config_tree, "PMTUDiscovery"), &choice); if(choice) {