diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2020-04-29 01:25:46 +0200 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2020-04-29 01:25:46 +0200 |
commit | 44327c1d12591af41658a4c492fdee597fe4ab74 (patch) | |
tree | d643ed0eb0efb0d048187f57b79d1e7206daf22a /VNFs | |
parent | a042fd8408a2993a18875a1b75f743af955e78e5 (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.c | 4 |
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; |