projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.in: Check for `mysql_get_server_version' in libmyql.
[collectd.git]
/
src
/
dns.c
diff --git
a/src/dns.c
b/src/dns.c
index
c04169f
..
4d3106b
100644
(file)
--- a/
src/dns.c
+++ b/
src/dns.c
@@
-212,7
+212,7
@@
static void *dns_child_loop (void *dummy)
/* Passing `pcap_device == NULL' is okay and the same as passign "any" */
DEBUG ("Creating PCAP object..");
/* Passing `pcap_device == NULL' is okay and the same as passign "any" */
DEBUG ("Creating PCAP object..");
- pcap_obj = pcap_open_live (
pcap_device
,
+ pcap_obj = pcap_open_live (
(pcap_device != NULL) ? pcap_device : "any"
,
PCAP_SNAPLEN,
0 /* Not promiscuous */,
interval_g,
PCAP_SNAPLEN,
0 /* Not promiscuous */,
interval_g,