X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconf.c;h=593cd0c29f705c67fcd815efee2b55f2097a6111;hb=434e57ae5ee79b3d990c4d75358047bad641998b;hp=30ac5852e85b8f970be2d2002d1c51dd6bc1743b;hpb=f4010694b3b16453e5e6298c208910264e326978;p=tinc diff --git a/src/conf.c b/src/conf.c index 30ac5852..593cd0c2 100644 --- a/src/conf.c +++ b/src/conf.c @@ -188,7 +188,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 = {0}; + subnet_t subnet = {NULL}; if(!cfg) return false;