22 lines
860 B
Plaintext
22 lines
860 B
Plaintext
$OpenBSD: patch-src_ppm_c,v 1.3 2009/08/16 13:31:27 rui Exp $
|
|
--- src/ppm.c.orig Mon Jan 26 22:49:58 2009
|
|
+++ src/ppm.c Wed Apr 8 12:40:37 2009
|
|
@@ -361,7 +361,7 @@ void ppm_rule_log( UINT64 pktcnt, Packet * p)
|
|
if( ppm_cfg.rule_log & PPM_LOG_MESSAGE )
|
|
{
|
|
if(!*timestamp)
|
|
- ts_print((struct timeval*)&p->pkth->ts, timestamp);
|
|
+ ts_print((struct timeval32*)&p->pkth->ts, timestamp);
|
|
|
|
for (i=0; i< ppm_n_crules; i++)
|
|
{
|
|
@@ -417,7 +417,7 @@ void ppm_rule_log( UINT64 pktcnt, Packet * p)
|
|
if( ppm_cfg.rule_log & PPM_LOG_MESSAGE )
|
|
{
|
|
if(!*timestamp)
|
|
- ts_print((struct timeval*)&p->pkth->ts, timestamp);
|
|
+ ts_print((struct timeval32*)&p->pkth->ts, timestamp);
|
|
|
|
for (i=0; i< ppm_n_rules; i++)
|
|
{
|