X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.c;h=5de30d7d6ce0123b588a6c0bdcd708f88b796fa7;hp=f09aff65b7aeaaea6480abbafe8a2adc3e4cd06a;hb=6d08eb1614b59d5f86a43edda9db06fca72b76cd;hpb=4c85542894f7fca823b119b05e07179deb24229a diff --git a/src/protocol.c b/src/protocol.c index f09aff65..5de30d7d 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -29,6 +29,7 @@ #include "xalloc.h" bool tunnelserver = false; +bool strictsubnets = false; /* Jumptable for the request handlers */ @@ -188,7 +189,7 @@ void exit_requests(void) { } bool seen_request(char *request) { - past_request_t *new, p = {0}; + past_request_t *new, p = {NULL}; p.request = request;