openbsd-ports/net/nmap/patches/patch-nsock_src_nsock_pcap_h
giovanni 4c8a46b081 Update to nmap-5.00
diff made by Pawlowski Marcin Piotr with tweaks by me and others
"you have my okay" landry@ on a similar diff
full changelog available at http://nmap.org/changelog.html
2009-10-22 10:00:57 +00:00

13 lines
362 B
Plaintext

$OpenBSD: patch-nsock_src_nsock_pcap_h,v 1.3 2009/10/22 10:00:57 giovanni Exp $
--- nsock/src/nsock_pcap.h.orig Wed Mar 4 04:08:33 2009
+++ nsock/src/nsock_pcap.h Tue Jul 21 19:57:38 2009
@@ -75,7 +75,7 @@ typedef struct{
typedef struct{
- struct timeval ts;
+ struct bpf_timeval ts;
int caplen;
int len;
const unsigned char *packet; // caplen bytes