[collectd] utils_dns patch
Oleg King
king2 at kaluga.ru
Wed Jun 4 16:36:28 CEST 2008
Hello!
On old FreeBSD T_TSIG is not defined in
/usr/include/arpa/nameser_compat.h (see mantis, issue #21).
This patch will resolve this problem.
--- utils_dns.c.orig 2008-06-04 18:30:26.000000000 +0400
+++ utils_dns.c 2008-06-04 18:30:26.000000000 +0400
@@ -704,6 +704,9 @@ void handle_pcap(u_char *udata, const st
const char *qtype_str(int t)
{
static char buf[32];
+#ifndef T_TSIG
+# define T_TSIG 250
+#endif
switch (t) {
#if (defined (__NAMESER)) && (__NAMESER >= 19991006)
case ns_t_a: return ("A");
--
WBR,
Oleg mailto:king2 at kaluga.ru
More information about the collectd
mailing list