summaryrefslogtreecommitdiffstats
path: root/VNFs
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2020-04-29 01:25:46 +0200
committerXavier Simonart <xavier.simonart@intel.com>2020-04-29 01:25:46 +0200
commit44327c1d12591af41658a4c492fdee597fe4ab74 (patch)
treed643ed0eb0efb0d048187f57b79d1e7206daf22a /VNFs
parenta042fd8408a2993a18875a1b75f743af955e78e5 (diff)
Fix configuration of arp_timeout and arp_update_time
Change-Id: I9e90c9bdd4d6e83ce0533fd38e1980dca1841bdb Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs')
-rw-r--r--VNFs/DPPD-PROX/packet_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/packet_utils.c b/VNFs/DPPD-PROX/packet_utils.c
index 43350134..96d9074a 100644
--- a/VNFs/DPPD-PROX/packet_utils.c
+++ b/VNFs/DPPD-PROX/packet_utils.c
@@ -229,11 +229,11 @@ void task_init_l3(struct task_base *tbase, struct task_args *targ)
tbase->l3.core_id = targ->lconf->id;
tbase->l3.task_id = targ->id;
tbase->l3.tmaster = targ->tmaster;
- if (tbase->l3.arp_timeout != 0)
+ if (targ->arp_timeout != 0)
tbase->l3.arp_timeout = targ->arp_timeout;
else
tbase->l3.arp_timeout = DEFAULT_ARP_TIMEOUT;
- if (tbase->l3.arp_update_time != 0)
+ if (targ->arp_update_time != 0)
tbase->l3.arp_update_time = targ->arp_update_time;
else
tbase->l3.arp_update_time = DEFAULT_ARP_UPDATE_TIME;