From 1ae490e6c8e84d3c7da354581bc4a392302c7ed6 Mon Sep 17 00:00:00 2001 From: William Metcalf Date: Mon, 27 Jul 2009 11:07:30 -0500 Subject: [PATCH] Small debug fix in decode-udp.c --- src/decode-udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decode-udp.c b/src/decode-udp.c index fc1fe8f847..812583361b 100644 --- a/src/decode-udp.c +++ b/src/decode-udp.c @@ -43,7 +43,7 @@ void DecodeUDP(ThreadVars *t, Packet *p, u_int8_t *pkt, u_int16_t len) #ifdef DEBUG printf("UDP sp: %u -> dp: %u - HLEN: %u LEN: %u TEST: %u\n", - UDP_GET_SRC_PORT(p), UDP_GET_DST_PORT(p), UDP_HEADER_LEN, p->tcp_payload_len); + UDP_GET_SRC_PORT(p), UDP_GET_DST_PORT(p), UDP_HEADER_LEN, p->payload_len); #endif /* Flow is an integral part of us */