summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-06-27 13:43:01 +0300
committerHanoh Haim <hhaim@cisco.com>2016-06-27 13:43:01 +0300
commit3c693c4d3a57c8567c5e2a8327deb70a08be9a14 (patch)
tree9c00ef565f1f50318d8bf1bdf9b0f3198c05fb89 /src/main_dpdk.cpp
parentbee4308547e9f9a8850bceb929981cf5c780e220 (diff)
fix trex-218 & trex-219
Diffstat (limited to 'src/main_dpdk.cpp')
-rw-r--r--src/main_dpdk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index d132df51..2ef06157 100644
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -5505,7 +5505,7 @@ void CTRexExtendedDriverBase40G::get_extended_stats(CPhyEthIF * _if,CPhyEthIFSta
stats->ipackets = stats1.ipackets;
- stats->ibytes = stats1.ibytes + (stats1.ipackets<<2);
+ stats->ibytes = stats1.ibytes ;
stats->opackets = stats1.opackets;
stats->obytes = stats1.obytes + (stats1.opackets<<2);