projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Really avoid trying to send an ANS_KEY request to unreachable nodes.
[tinc]
/
src
/
protocol_key.c
diff --git
a/src/protocol_key.c
b/src/protocol_key.c
index
c15c4f6
..
a9d719b
100644
(file)
--- a/
src/protocol_key.c
+++ b/
src/protocol_key.c
@@
-300,6
+300,7
@@
bool req_key_h(connection_t *c, const char *request) {
if(!from->status.reachable) {
logger(DEBUG_ALWAYS, LOG_ERR, "Got %s from %s (%s) origin %s which is not reachable",
"REQ_KEY", c->name, c->hostname, from_name);
+ return true;
}
/* Is this an extended REQ_KEY message? */