summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--VNFs/UDP_Replay/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/UDP_Replay/main.c b/VNFs/UDP_Replay/main.c
index 0a705f6e..2578169d 100644
--- a/VNFs/UDP_Replay/main.c
+++ b/VNFs/UDP_Replay/main.c
@@ -1243,7 +1243,7 @@ simple_ipv4_replay_8pkts(struct rte_mbuf *m[8], uint8_t portid, struct lcore_con
/* if not already processed as a arp/icmp pkt */
if (a[i]) {
port->transmit_single_pkt(port, m[i]);
- tx_pkt_count[(uint64_t)portid]++;
+ tx_pkt_count[(uint64_t)port]++;
}
}