summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-06-02 04:46:10 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-06-02 13:36:18 +0000
commit6c6048847ae1a903c77a4fc00a9a809ce3e35fa3 (patch)
tree8ba3e3f7f493f9f6c40aadcc9ef18084764af754
parentcd7ce8f25a81fb390ed0cc66992fda8ab1b021cb (diff)
Revert "[BUG]: Fix segfault while sending the packets back"
This reverts commit b04a6e5dacc458f81097c9b8a172dcbf16d8fd50. Change-Id: Icb9a4ddea607c9dd9324a413407c266e8f6106f0 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
-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]++;
}
}