projects
/
tinc
/ 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.
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
17c0425
..
8eb3e60
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-588,7
+588,7
@@
static bool setup_myself(void) {
free(mode);
}
free(mode);
}
- choice =
true
;
+ choice =
!(myself->options & OPTION_TCPONLY)
;
get_config_bool(lookup_config(config_tree, "PMTUDiscovery"), &choice);
if(choice) {
get_config_bool(lookup_config(config_tree, "PMTUDiscovery"), &choice);
if(choice) {