summaryrefslogtreecommitdiff
path: root/net-mgmt/collectd5/files/patch-src__dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/collectd5/files/patch-src__dns.c')
-rw-r--r--net-mgmt/collectd5/files/patch-src__dns.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/net-mgmt/collectd5/files/patch-src__dns.c b/net-mgmt/collectd5/files/patch-src__dns.c
deleted file mode 100644
index fb045049b25a..000000000000
--- a/net-mgmt/collectd5/files/patch-src__dns.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/dns.c.orig 2008-09-05 15:26:02.000000000 +0000
-+++ src/dns.c 2008-09-05 15:25:55.000000000 +0000
-@@ -210,6 +210,15 @@
- pthread_sigmask (SIG_SETMASK, &sigmask, NULL);
- }
-
-+ /* Check for pcap_device, if needed */
-+#ifdef __sparc64__
-+ if (pcap_device == NULL)
-+ {
-+ ERROR ("dns plugin: Interface required");
-+ return (NULL);
-+ }
-+#endif
-+
- /* Passing `pcap_device == NULL' is okay and the same as passign "any" */
- DEBUG ("Creating PCAP object..");
- pcap_obj = pcap_open_live (pcap_device,