diff options
Diffstat (limited to 'src/bp_gtest.cpp')
-rwxr-xr-x | src/bp_gtest.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bp_gtest.cpp b/src/bp_gtest.cpp index a529d637..e3145f2a 100755 --- a/src/bp_gtest.cpp +++ b/src/bp_gtest.cpp @@ -205,7 +205,7 @@ public: } } - lpt->generate_erf(buf,CGlobalInfo::m_options.preview); + lpt->start_generate_stateful(buf,CGlobalInfo::m_options.preview); lpt->m_node_gen.DumpHist(stdout); cmp.d_sec = m_time_diff; @@ -2031,6 +2031,10 @@ public: virtual int send_node(CGenNode * node); + virtual int update_mac_addr_from_global_cfg(pkt_dir_t dir, rte_mbuf_t *m){ + return (0); + } + /** * flush all pending packets into the stream @@ -2105,7 +2109,7 @@ public: int i; for (i=0; i<m_threads; i++) { lpt=fl.m_threads_info[i]; - lpt->generate_erf("t1",CGlobalInfo::m_options.preview); + lpt->start_generate_stateful("t1",CGlobalInfo::m_options.preview); } fl.Delete(); return (true); @@ -2755,7 +2759,7 @@ TEST_F(gt_ring, ring1) { TEST_F(gt_ring, ring2) { CMessagingManager ringmg; - ringmg.Create(8); + ringmg.Create(8, "test"); int i; for (i=0; i<8; i++) { |