diff --git a/src/detect.c b/src/detect.c index e716afd86f..9fdd2e9c08 100644 --- a/src/detect.c +++ b/src/detect.c @@ -106,10 +106,10 @@ static void DetectRun(ThreadVars *th_v, Packet *p) { SCEnter(); - SCLogDebug("p->pcap_cnt %" PRIu64 " direction %s flow %p", p->pcap_cnt, + SCLogDebug("p->pcap_cnt %" PRIu64 " direction %s pkt_src %s", p->pcap_cnt, p->flow ? (FlowGetPacketDirection(p->flow, p) == TOSERVER ? "toserver" : "toclient") : "noflow", - p->flow); + PktSrcToString(p->pkt_src)); /* bail early if packet should not be inspected */ if (p->flags & PKT_NOPACKET_INSPECTION) { diff --git a/src/stream-tcp.c b/src/stream-tcp.c index b805a0893a..669f0c3096 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -5363,9 +5363,10 @@ TmEcode StreamTcp (ThreadVars *tv, Packet *p, void *data, PacketQueueNoLock *pq) { StreamTcpThread *stt = (StreamTcpThread *)data; - SCLogDebug("p->pcap_cnt %" PRIu64 " direction %s", p->pcap_cnt, + SCLogDebug("p->pcap_cnt %" PRIu64 " direction %s pkt_src %s", p->pcap_cnt, p->flow ? (FlowGetPacketDirection(p->flow, p) == TOSERVER ? "toserver" : "toclient") - : "noflow"); + : "noflow", + PktSrcToString(p->pkt_src)); t_pcapcnt = p->pcap_cnt; if (!(PKT_IS_TCP(p))) {