Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/collectd5/files/patch-src__dns.c
diff --git src/dns.c src/dns.c | --- src/dns.c.orig 2015-03-10 14:14:45 UTC | ||||
index fe3b672..0c43985 100644 | |||||
--- src/dns.c | |||||
+++ src/dns.c | +++ src/dns.c | ||||
@@ -223,6 +223,15 @@ static void *dns_child_loop (__attribute__((unused)) void *dummy) | @@ -223,6 +223,15 @@ static void *dns_child_loop (__attribute__((unused)) void *dummy) | ||||
pthread_sigmask (SIG_SETMASK, &sigmask, NULL); | pthread_sigmask (SIG_SETMASK, &sigmask, NULL); | ||||
} | } | ||||
+ /* Check for pcap_device, if needed */ | + /* Check for pcap_device, if needed */ | ||||
+#ifdef __sparc64__ | +#ifdef __sparc64__ | ||||
+ if (pcap_device == NULL) | + if (pcap_device == NULL) | ||||
Show All 9 Lines |