openbsd-ports/net/snort/patches/patch-src_log_text_c

13 lines
476 B
Plaintext

$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
void LogTimeStamp(TextLog* log, Packet* p)
{
char timestamp[TIMEBUF_SIZE];
- ts_print((struct timeval*)&p->pkth->ts, timestamp);
+ ts_print((struct sf_timeval32*)&p->pkth->ts, timestamp);
TextLog_Puts(log, timestamp);
}