1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

done updating libpcap and pcre

This commit is contained in:
fyodor
2005-09-11 10:55:03 +00:00
parent d821d2cd44
commit e93e746aa4
17 changed files with 12456 additions and 3179 deletions

View File

@@ -1607,7 +1607,8 @@ if (timedout) {
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
}
@@ -1778,7 +1779,8 @@ int read_arp_reply_pcap(pcap_t *pd, u8 *sendermac, struct in_addr *senderIP,
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
}