summaryrefslogtreecommitdiffstats
path: root/VNFs/UDP_Replay
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/UDP_Replay')
-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 2578169d..0a705f6e 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)port]++;
+ tx_pkt_count[(uint64_t)portid]++;
}
}