mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 00:20:40 -04:00
15 lines
319 B
Text
15 lines
319 B
Text
--- spamlogd/spamlogd.c.orig Sat Jun 23 15:28:14 2007
|
|
+++ spamlogd/spamlogd.c Sat Jun 23 15:28:27 2007
|
|
@@ -158,10 +158,12 @@
|
|
|
|
pcap_freecode(&bpfp);
|
|
|
|
+#ifdef BIOCLOCK
|
|
if (ioctl(pcap_fileno(hpcap), BIOCLOCK) < 0) {
|
|
logmsg(LOG_ERR, "BIOCLOCK: %s", strerror(errno));
|
|
return (-1);
|
|
}
|
|
+#endif
|
|
|
|
return (0);
|
|
}
|