X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_dns.c;h=2c7a59d343fb938ea7017c162317791830dbf646;hb=43ef00c0eb99991902d3c9a5fbe582cde049b055;hp=71a14d87ddc7fe75f2326165e11b86cdaf4ce139;hpb=fabcbe28f109a1f61c53507342de09850b2edc88;p=collectd.git diff --git a/src/utils_dns.c b/src/utils_dns.c index 71a14d87..2c7a59d3 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -156,9 +156,6 @@ typedef int (printer)(const char *, ...); /* * Global variables */ -int qtype_counts[T_MAX]; -int opcode_counts[OP_MAX]; -int qclass_counts[C_MAX]; #if HAVE_PCAP_H static pcap_t *pcap_obj = NULL; @@ -418,11 +415,6 @@ handle_dns(const char *buf, int len) qh.length = (uint16_t) len; - /* gather stats */ - qtype_counts[qh.qtype]++; - qclass_counts[qh.qclass]++; - opcode_counts[qh.opcode]++; - if (Callback != NULL) Callback (&qh);