openbsd-ports/net/nmap/patches/patch-nsock_src_nsock_pcap_h

13 lines
362 B
Plaintext
Raw Normal View History

$OpenBSD: patch-nsock_src_nsock_pcap_h,v 1.4 2011/03/28 09:01:24 giovanni Exp $
--- nsock/src/nsock_pcap.h.orig Sat Oct 2 19:26:38 2010
+++ nsock/src/nsock_pcap.h Wed Feb 2 13:12:14 2011
@@ -81,7 +81,7 @@ typedef struct{
typedef struct{
- struct timeval ts;
+ struct bpf_timeval ts;
int caplen;
int len;
const unsigned char *packet; // caplen bytes