projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document that invitation files MUST always start with Name = ...
[tinc]
/
src
/
protocol_auth.c
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
68dd071
..
c0a2aea
100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-428,7
+428,7
@@
bool id_h(connection_t *c, const char *request) {
if(!c->config_tree) {
init_configuration(&c->config_tree);
if(!c->config_tree) {
init_configuration(&c->config_tree);
- if(!read_host_config(c->config_tree, c->name)) {
+ if(!read_host_config(c->config_tree, c->name
, false
)) {
logger(DEBUG_ALWAYS, LOG_ERR, "Peer %s had unknown identity (%s)", c->hostname, c->name);
return false;
}
logger(DEBUG_ALWAYS, LOG_ERR, "Peer %s had unknown identity (%s)", c->hostname, c->name);
return false;
}
@@
-801,7
+801,7
@@
bool send_ack(connection_t *c) {
c->options |= OPTION_TCPONLY | OPTION_INDIRECT;
}
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;
}
c->options |= OPTION_PMTU_DISCOVERY;
}