X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_misc.c;h=1e0bc50d8f9749d47cbd0ab7f32cedbd38d09c7f;hb=ce976717ea9756aa985699547fdbf132b694748d;hp=ca1dc315993884a0aa30a4138c2ea805c961c288;hpb=ddc6a81a854023e38b563f213aa9a449ee91add8;p=tinc diff --git a/src/protocol_misc.c b/src/protocol_misc.c index ca1dc315..1e0bc50d 100644 --- a/src/protocol_misc.c +++ b/src/protocol_misc.c @@ -90,9 +90,7 @@ bool error_h(connection_t *c) ifdebug(ERROR) logger(LOG_NOTICE, _("Error message from %s (%s): %d: %s"), c->name, c->hostname, err, errorstring); - terminate_connection(c, c->status.active); - - return true; + return false; } bool send_termreq(connection_t *c) @@ -106,9 +104,7 @@ bool termreq_h(connection_t *c) { cp(); - terminate_connection(c, c->status.active); - - return true; + return false; } bool send_ping(connection_t *c)