X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdns.c;h=3de7c34a89de73986e3b4d2fd36550a102e3da1e;hb=658e44d47088aaea3c59fb248336a74fdefe4245;hp=476b6ddb2a2effded68e76af34152b20a634df51;hpb=de0fdb208de123fe753c5fcf03533833777a5b4a;p=collectd.git diff --git a/src/dns.c b/src/dns.c index 476b6ddb..3de7c34a 100644 --- a/src/dns.c +++ b/src/dns.c @@ -19,6 +19,8 @@ * Florian octo Forster **/ +#define _BSD_SOURCE + #include "collectd.h" #include "common.h" #include "plugin.h" @@ -211,7 +213,7 @@ static void *dns_child_loop (void __attribute__((unused)) *dummy) } /* Passing `pcap_device == NULL' is okay and the same as passign "any" */ - DEBUG ("Creating PCAP object.."); + DEBUG ("dns plugin: Creating PCAP object.."); pcap_obj = pcap_open_live ((pcap_device != NULL) ? pcap_device : "any", PCAP_SNAPLEN, 0 /* Not promiscuous */,