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

$OpenBSD: patch-nsock_src_nsock_pcap_c,v 1.2 2009/10/22 10:00:57 giovanni Exp $
--- nsock/src/nsock_pcap.c.orig Wed Mar 4 04:08:33 2009
+++ nsock/src/nsock_pcap.c Tue Jul 21 19:57:38 2009
@@ -325,7 +325,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;