summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2019-03-04 05:31:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-03-04 05:31:33 +0000
commit57a771696397b8d322f693197ecbf5e9281b9005 (patch)
tree161ad2a6781bba2afd33b96fa4c2ce977f754dcc
parent89bea56dfb5e0cf1b532bd94accf84ce2811b0ca (diff)
parente4210b8daea3ac4094562005400df2987d727f71 (diff)
Merge "Fixed typo in setting up ARP timers"
-rw-r--r--VNFs/DPPD-PROX/packet_utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/packet_utils.c b/VNFs/DPPD-PROX/packet_utils.c
index 06a9ba6..4ab7c9c 100644
--- a/VNFs/DPPD-PROX/packet_utils.c
+++ b/VNFs/DPPD-PROX/packet_utils.c
@@ -183,7 +183,6 @@ int write_dst_mac(struct task_base *tbase, struct rte_mbuf *mbuf, uint32_t *ip_d
} else if (tsc > l3->arp_table[ret].arp_update_time) {
// ARP not sent since a long time, send ARP
l3->arp_table[ret].arp_update_time = tsc + l3->arp_update_time * hz / 1000;
- l3->arp_table[ret].arp_update_time = tsc + hz;
if (tsc < l3->arp_table[ret].arp_timeout) {
// MAC still valid => send also MBUF
memcpy(mac, &l3->arp_table[ret].mac, sizeof(struct ether_addr));