pkgsrc/net/LaBrea/patches/patch-ab
2006-06-06 19:47:48 +00:00

13 lines
352 B
Text

$NetBSD: patch-ab,v 1.1 2006/06/06 19:47:48 joerg Exp $
--- src/pcaputil.c.orig 2006-06-06 19:44:41.000000000 +0000
+++ src/pcaputil.c
@@ -64,7 +64,7 @@ pcap_open(char *device)
if ((pcap = pcap_open_live(device, 31337, 1, PCAP_TIMEOUT, ebuf)) == NULL)
return (NULL);
-#ifdef BSD
+#if defined(BSD) && defined(BIOCIMMEDIATE)
{
int n = 1;