projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1e815
)
Don't log an error message when receiving a TERMREQ.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 24 Apr 2015 21:43:58 +0000
(23:43 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 24 Apr 2015 21:43:58 +0000
(23:43 +0200)
src/protocol.c
patch
|
blob
|
history
diff --git
a/src/protocol.c
b/src/protocol.c
index
4f7e669
..
8627912
100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-135,7
+135,8
@@
bool receive_request(connection_t *c, const char *request) {
if(!request_handlers[reqno](c, request)) {
/* Something went wrong. Probably scriptkiddies. Terminate. */
- logger(DEBUG_ALWAYS, LOG_ERR, "Error while processing %s from %s (%s)", request_name[reqno], c->name, c->hostname);
+ if(request != TERMREQ)
+ logger(DEBUG_ALWAYS, LOG_ERR, "Error while processing %s from %s (%s)", request_name[reqno], c->name, c->hostname);
return false;
}
} else {