From 3ec7b7519434f900a47534b3b14bbdb630992efb Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Thu, 29 Sep 2011 23:18:50 +0530 Subject: [PATCH] fix timestamps for pseudo packets created during FFR - bug 337 --- src/flow-timeout.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/flow-timeout.c b/src/flow-timeout.c index b8f47d76ce..b715604664 100644 --- a/src/flow-timeout.c +++ b/src/flow-timeout.c @@ -209,6 +209,9 @@ static inline Packet *FlowForceReassemblyPseudoPacketSetup(Packet *p, (uint16_t *)p->tcph, 20); } + memset(&p->ts, 0, sizeof(struct timeval)); + TimeGet(&p->ts); + return p; }