int skip = 0;
if (!select_numeric_qtype)
{
- char *str = qtype_str(dns->qtype);
+ const char *str = qtype_str(dns->qtype);
if ((str == NULL) || (str[0] == '#'))
skip = 1;
}
}
/* 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 */,