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
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index 314fd716fa412bb8361a6f3865c3ed085ae9d69c..49ea31b6893f5bdf09748513bf0e88b0d5892f91 100644
(file)
--- 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) {