blob: 9b1726864e55b0a68371872fa9e97ddd7f56597a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ad,v 1.1 2006/06/07 12:24:45 joerg Exp $
--- pcaputil.c.orig 2006-06-07 12:21:17.000000000 +0000
+++ pcaputil.c
@@ -39,7 +39,7 @@ pcap_open(char *device)
if ((pcap = pcap_open_live(device, 31337, 0, 10, ebuf)) == NULL)
return (NULL);
-#ifdef BSD
+#if defined(BSD) && defined(BIOCIMMEDIATE)
{
int n = 1;
|