]> git.ipfire.org Git - thirdparty/bind9.git/commit
Get rid of DNS_GEOIP_DATABASE_INIT explicit initializer for geoip dbs
authorOndřej Surý <ondrej@sury.org>
Thu, 4 Jul 2019 09:17:16 +0000 (11:17 +0200)
committerEvan Hunt <each@isc.org>
Thu, 4 Jul 2019 15:58:26 +0000 (08:58 -0700)
commita2e89ff0c1ccf47cb5e73f46baf4a993abb917ce
tree7f27e6776c98e79103ced961d38e4388987a777b
parent1957bcaa99f7fe1f4b48517e6ce1244d1bed3c62
Get rid of DNS_GEOIP_DATABASE_INIT explicit initializer for geoip dbs

Instead of the explicit struct initializer with all member, rely on the fact
that static variables are explicitly initialized to 0 if not explicitly
initialized.
bin/named/geoip.c
lib/dns/include/dns/geoip.h
lib/dns/tests/geoip_test.c