diff options
author | Deepak S <deepak.s@linux.intel.com> | 2019-02-07 10:38:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-02-07 10:38:20 +0000 |
commit | c32ac3003b7c109c6e7cb3f1018ea99821989bf8 (patch) | |
tree | e2685afba912804e770923d8c29c79947b146633 /VNFs/DPPD-PROX/prox_args.c | |
parent | 2aa21bfc505f582b11754c3086685a2fa355fee2 (diff) | |
parent | fd72a6505e18c66a31843708bb69a41739b97a84 (diff) |
Merge "Add support for configurable arp timers in L3 mode"
Diffstat (limited to 'VNFs/DPPD-PROX/prox_args.c')
-rw-r--r-- | VNFs/DPPD-PROX/prox_args.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c index 59c514fc..d77eab1a 100644 --- a/VNFs/DPPD-PROX/prox_args.c +++ b/VNFs/DPPD-PROX/prox_args.c @@ -1362,6 +1362,10 @@ static int get_core_cfg(unsigned sindex, char *str, void *data) if (STR_EQ(str, "local ipv6")) { /* source IPv6 address to be used for packets */ return parse_ip6(&targ->local_ipv6, pkey); } + if (STR_EQ(str, "arp timeout")) + return parse_int(&targ->arp_timeout, pkey); + if (STR_EQ(str, "arp update time")) + return parse_int(&targ->arp_update_time, pkey); if (STR_EQ(str, "number of packets")) return parse_int(&targ->n_pkts, pkey); if (STR_EQ(str, "pipes")) { |