aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l4fwd/tcp.h')
-rw-r--r--examples/l4fwd/tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/l4fwd/tcp.h b/examples/l4fwd/tcp.h
index f6ca3a5..e4aadb5 100644
--- a/examples/l4fwd/tcp.h
+++ b/examples/l4fwd/tcp.h
@@ -279,9 +279,9 @@ netfe_fwd_tcp(uint32_t lcore, struct netfe_stream *fes)
__func__, lcore, proto_name[fes->proto],
fed->s, n, k);
- fed->stat.txp += k;
- fed->stat.drops += n - k;
- fes->stat.fwp += k;
+ fed->stat.txp += k;
+ fed->stat.drops += n - k;
+ fes->stat.fwp += k;
} else {
NETFE_TRACE("%s(%u, %p): no fwd stream for %u pkts;\n",