statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

commit 66dbaeff634cfc3ca24e37fbe0573e4c6c43c5e0
parent 73eb118c487279aa47d3e90477a6079c89d968ee
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 26 Mar 2019 13:34:27 +0100

Fix DS records count.

Diffstat:
Msrc/statzone.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/statzone.c b/src/statzone.c @@ -158,7 +158,7 @@ main(int argc, char *argv[]) { results.aaaa++; } - if (!strcmp(token_lc, "ds")) { + if (token_count && !strcmp(token_lc, "ds")) { results.ds++; HASH_FIND_STR(signedDomains, domain, ds);