blob: f26a0c55da6dd3f302b462f76cc1e23a4366a55f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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;
|