openbsd-ports/net/nmap/patches/patch-nsock_src_nsock_pcap_h
giovanni 35ac3b7309 Update to version 5.51, lot of improvements since latest version,
full changelog available at http://nmap.org/changelog.html
Nping needs a very current libpcap to work as root
2011-03-28 09:01:24 +00:00

13 lines
362 B
Plaintext

$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