X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.c;h=4f74d3b0ec753978078f2c3ddca1c3479f913111;hp=f43fccd4c9b53b62ae880ba7fa4956ce9be73a35;hb=99763e34d52fcfe76b0bb9c7f3a17ace51cfdbfc;hpb=2116c6eb7d328c7aa3ce3da54f95367e5199d373 diff --git a/src/protocol.c b/src/protocol.c index f43fccd4..4f74d3b0 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -35,7 +35,7 @@ bool strictsubnets = false; static bool (*request_handlers[])(connection_t *) = { id_h, metakey_h, challenge_h, chal_reply_h, ack_h, - status_h, error_h, termreq_h, + NULL, NULL, NULL, ping_h, pong_h, add_subnet_h, del_subnet_h, add_edge_h, del_edge_h, @@ -193,7 +193,7 @@ void exit_requests(void) { } bool seen_request(char *request) { - past_request_t *new, p = {}; + past_request_t *new, p = {0}; p.request = request;