openbsd-ports/net/nmap/patches/patch-tcpip_cc
sturm b6e4ff2b98 update to nmap 3.75
from Okan Demirmen <okan at demirmen.com>
2004-10-31 18:06:14 +00:00

14 lines
416 B
Plaintext

$OpenBSD: patch-tcpip_cc,v 1.2 2004/10/31 18:06:14 sturm Exp $
--- tcpip.cc.orig Mon Oct 18 12:59:15 2004
+++ tcpip.cc Wed Oct 20 11:54:12 2004
@@ -1649,7 +1649,8 @@ if (!pd) fatal("NULL packet device passe
gettimeofday(&tv_end, NULL);
*rcvdtime = tv_end;
#else
- *rcvdtime = head.ts;
+ rcvdtime->tv_sec = head.ts.tv_sec;
+ rcvdtime->tv_usec = head.ts.tv_usec;
assert(head.ts.tv_sec);
#endif
}