diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-07 12:24:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-07 12:24:45 +0000 |
commit | 610c492b990e2d2cac19243c59a17e4a2dac69c4 (patch) | |
tree | 6157efbb88d8ab6d1e77c5b56631e989f95d3e48 /security/fragroute | |
parent | 36b7e7e3582b50e7284950e926e85a4ffa34505d (diff) | |
download | pkgsrc-610c492b990e2d2cac19243c59a17e4a2dac69c4.tar.gz |
Don't use BIOCIMMEDIATE if it doesn't exist.
Diffstat (limited to 'security/fragroute')
-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; + |