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

13 lines
358 B
Plaintext

$OpenBSD: patch-nsock_src_nsock_pcap_h,v 1.2 2008/09/17 18:09:54 kili Exp $
--- nsock/src/nsock_pcap.h.orig Wed Aug 13 09:02:22 2008
+++ nsock/src/nsock_pcap.h Thu Sep 11 15:32:17 2008
@@ -72,7 +72,7 @@ typedef struct{
typedef struct{
- struct timeval ts;
+ struct bpf_timeval ts;
int caplen;
int len;
const unsigned char *packet; // caplen bytes