diff options
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index 2e7eb5db..5abdbdc6 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -123,7 +123,6 @@ rte_mbuf_t *CTrexDebug::create_test_pkt(int ip_ver, uint16_t l4_proto, uint8_t t char *pkt; rte_mbuf_t *m; char *p; - CTestPktGen gen; uint16_t l3_type; switch (ip_ver) { @@ -141,7 +140,7 @@ rte_mbuf_t *CTrexDebug::create_test_pkt(int ip_ver, uint16_t l4_proto, uint8_t t break; } - pkt = gen.create_test_pkt(l3_type, l4_proto, ttl, ip_id, flags, 1000, pkt_size); + pkt = CTestPktGen::create_test_pkt(l3_type, l4_proto, ttl, ip_id, flags, 1000, pkt_size); m = CGlobalInfo::pktmbuf_alloc(0, pkt_size); if ( unlikely(m == 0) ) { printf("ERROR no packets \n"); |