diff options
author | joerg <joerg> | 2006-06-07 12:24:45 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-06-07 12:24:45 +0000 |
commit | a05db6a01137aca769fe89eba0a970a6b4b1d150 (patch) | |
tree | 6157efbb88d8ab6d1e77c5b56631e989f95d3e48 /security | |
parent | 50e9554beb00c7b8ac64d81a115fe090deab7a17 (diff) | |
download | pkgsrc-a05db6a01137aca769fe89eba0a970a6b4b1d150.tar.gz |
Don't use BIOCIMMEDIATE if it doesn't exist.
Diffstat (limited to 'security')
-rw-r--r-- | security/fragroute/patches/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/fragroute/patches/patch-ad b/security/fragroute/patches/patch-ad new file mode 100644 index 00000000000..9b1726864e5 --- /dev/null +++ b/security/fragroute/patches/patch-ad @@ -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; + |