summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/debug.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 86ed0df0..8ec4f136 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -141,6 +141,11 @@ rte_mbuf_t *CTrexDebug::create_test_pkt(int ip_ver, uint16_t l4_proto, uint8_t t
}
pkt = CTestPktGen::create_test_pkt(l3_type, l4_proto, ttl, ip_id, flags, 1000, pkt_size);
+
+ /* DEBUG print the packet
+ utl_k12_pkt_format(stdout,pkt, pkt_size) ;
+ */
+
m = CGlobalInfo::pktmbuf_alloc(0, pkt_size);
if ( unlikely(m == 0) ) {
printf("ERROR no packets \n");