openbsd-ports/net/nmap/patches/patch-nsock_src_nsock_pcap_c
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
535 B
Plaintext

$OpenBSD: patch-nsock_src_nsock_pcap_c,v 1.4 2011/03/28 09:01:24 giovanni Exp $
--- nsock/src/nsock_pcap.c.orig Wed Feb 2 16:07:29 2011
+++ nsock/src/nsock_pcap.c Wed Feb 2 16:08:16 2011
@@ -346,7 +346,7 @@ int do_actual_pcap_read(msevent *nse)
void nse_readpcap(nsock_event nsee,
const unsigned char **l2_data, size_t *l2_len,
const unsigned char **l3_data, size_t *l3_len,
- size_t *packet_len, struct timeval *ts)
+ size_t *packet_len, struct bpf_timeval *ts)
{
msevent *nse = (msevent *)nsee;
msiod *iod = nse->iod;