2010-07-12 15:38:40 -04:00
|
|
|
$OpenBSD: patch-src_log_text_c,v 1.3 2010/07/12 19:38:40 sthen Exp $
|
|
|
|
--- src/log_text.c.orig Tue Jan 26 19:10:51 2010
|
|
|
|
+++ src/log_text.c Thu Apr 22 07:53:46 2010
|
|
|
|
@@ -66,7 +66,7 @@ extern OptTreeNode *otn_tmp; /* global ptr to curre
|
2009-02-12 17:12:08 -05:00
|
|
|
void LogTimeStamp(TextLog* log, Packet* p)
|
|
|
|
{
|
|
|
|
char timestamp[TIMEBUF_SIZE];
|
|
|
|
- ts_print((struct timeval*)&p->pkth->ts, timestamp);
|
2010-07-12 15:38:40 -04:00
|
|
|
+ ts_print((struct sf_timeval32*)&p->pkth->ts, timestamp);
|
2009-02-12 17:12:08 -05:00
|
|
|
TextLog_Puts(log, timestamp);
|
|
|
|
}
|
|
|
|
|