X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdns.c;h=ef627eb8115969a6dd079101ff3083b447d2a25a;hb=a396da422740caf336a6d594515e8d80de6f440a;hp=f34dafffa14fd587a1cb0e6c3a8cc94b8f88c248;hpb=0b7cd83a5e6bac068ea83a88a5ddcfb07c09fbec;p=collectd.git diff --git a/src/dns.c b/src/dns.c index f34dafff..ef627eb8 100644 --- a/src/dns.c +++ b/src/dns.c @@ -29,8 +29,8 @@ #include "common.h" #include "plugin.h" -#include #include "utils_dns.h" +#include #include @@ -57,7 +57,7 @@ static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); static int select_numeric_qtype = 1; #define PCAP_SNAPLEN 1460 -static char *pcap_device = NULL; +static char *pcap_device; static derive_t tr_queries; static derive_t tr_responses;