X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconf.c;h=c933f0992c3b86c826f46fb6ae252b1cee1df9fd;hp=3289c587ea12f10d32232ddf15ac14ef9a91a3ef;hb=2116c6eb7d328c7aa3ce3da54f95367e5199d373;hpb=aaa17884166350b60ab5896bcf408eea665a0404 diff --git a/src/conf.c b/src/conf.c index 3289c587..c933f099 100644 --- a/src/conf.c +++ b/src/conf.c @@ -204,7 +204,7 @@ bool get_config_address(const config_t *cfg, struct addrinfo **result) { } bool get_config_subnet(const config_t *cfg, subnet_t **result) { - subnet_t subnet = {NULL}; + subnet_t subnet = {}; if(!cfg) { return false;