diff options
-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; |