pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/fragroute/patches Don't use BIOCIMMEDIATE if ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/754a7068337b
branches: trunk
changeset: 514053:754a7068337b
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jun 07 12:24:45 2006 +0000
description:
Don't use BIOCIMMEDIATE if it doesn't exist.
diffstat:
security/fragroute/patches/patch-ad | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 080e8bffbb4c -r 754a7068337b security/fragroute/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/fragroute/patches/patch-ad Wed Jun 07 12:24:45 2006 +0000
@@ -0,0 +1,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;
+
Home |
Main Index |
Thread Index |
Old Index