b6e4ff2b98
from Okan Demirmen <okan at demirmen.com>
14 lines
416 B
Plaintext
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
|
|
}
|