Revert "Silence most noisy sources of memory leakage."
This reverts commit 408fb3b011
.
This commit is contained in:
parent
c53a9719d5
commit
6b62992c25
3 changed files with 2 additions and 9 deletions
|
@ -287,8 +287,7 @@ bool receive_meta(connection_t *c) {
|
||||||
|
|
||||||
char *request = buffer_readline(&c->inbuf);
|
char *request = buffer_readline(&c->inbuf);
|
||||||
if(request) {
|
if(request) {
|
||||||
bool result = false;
|
bool result = receive_request(c, request);
|
||||||
result = receive_request(c, request);
|
|
||||||
if(!result)
|
if(!result)
|
||||||
return false;
|
return false;
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -837,7 +837,6 @@ bool receive_sptps_record(void *handle, uint8_t type, const void *data, uint16_t
|
||||||
}
|
}
|
||||||
|
|
||||||
vpn_packet_t inpkt;
|
vpn_packet_t inpkt;
|
||||||
bzero(&inpkt, sizeof(inpkt));
|
|
||||||
inpkt.offset = DEFAULT_PACKET_OFFSET;
|
inpkt.offset = DEFAULT_PACKET_OFFSET;
|
||||||
|
|
||||||
if(type == PKT_PROBE) {
|
if(type == PKT_PROBE) {
|
||||||
|
|
|
@ -498,11 +498,6 @@ bool metakey_h(connection_t *c, const char *request) {
|
||||||
char enckey[len];
|
char enckey[len];
|
||||||
char key[len];
|
char key[len];
|
||||||
|
|
||||||
bzero(key, len);
|
|
||||||
bzero(enckey, len);
|
|
||||||
|
|
||||||
cipher = digest = maclength =compression = 0;
|
|
||||||
|
|
||||||
if(sscanf(request, "%*d %d %d %d %d " MAX_STRING, &cipher, &digest, &maclength, &compression, hexkey) != 5) {
|
if(sscanf(request, "%*d %d %d %d %d " MAX_STRING, &cipher, &digest, &maclength, &compression, hexkey) != 5) {
|
||||||
logger(DEBUG_ALWAYS, LOG_ERR, "Got bad %s from %s (%s)", "METAKEY", c->name, c->hostname);
|
logger(DEBUG_ALWAYS, LOG_ERR, "Got bad %s from %s (%s)", "METAKEY", c->name, c->hostname);
|
||||||
return false;
|
return false;
|
||||||
|
@ -697,7 +692,7 @@ bool send_ack(connection_t *c) {
|
||||||
to create node_t and edge_t structures. */
|
to create node_t and edge_t structures. */
|
||||||
|
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
bool choice = false;
|
bool choice;
|
||||||
|
|
||||||
/* Estimate weight */
|
/* Estimate weight */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue