Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof
This commit is contained in:
commit
bb2084da59
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ bool receive_request(connection_t *c, const char *request) {
|
|||
if(!request_handlers[reqno](c, request)) {
|
||||
/* Something went wrong. Probably scriptkiddies. Terminate. */
|
||||
|
||||
if(request != TERMREQ)
|
||||
if(reqno != TERMREQ)
|
||||
logger(DEBUG_ALWAYS, LOG_ERR, "Error while processing %s from %s (%s)", request_name[reqno], c->name, c->hostname);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue