summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/prox_args.c
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-10-24 09:15:48 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-24 09:15:48 +0000
commit504e70cbb19a3e65b1704ee085cd079d26cf16f8 (patch)
tree64feaa60fc14ba531acfe7cfa21ba5c90237305a /VNFs/DPPD-PROX/prox_args.c
parent9276fe25653796cafe9fcb526e1b68d7a7d3be56 (diff)
parent84b46623cb71a17e19c5d74fc65345dd6168a8d0 (diff)
Merge "Makefile change and new task structures for IPSec Prox task"
Diffstat (limited to 'VNFs/DPPD-PROX/prox_args.c')
-rw-r--r--VNFs/DPPD-PROX/prox_args.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c
index df9a2ca4..2703c228 100644
--- a/VNFs/DPPD-PROX/prox_args.c
+++ b/VNFs/DPPD-PROX/prox_args.c
@@ -1288,6 +1288,9 @@ static int get_core_cfg(unsigned sindex, char *str, void *data)
if (STR_EQ(str, "local ipv4")) { /* source IP address to be used for packets */
return parse_ip(&targ->local_ipv4, pkey);
}
+ if (STR_EQ(str, "remote ipv4")) { /* source IP address to be used for packets */
+ return parse_ip(&targ->remote_ipv4, pkey);
+ }
if (STR_EQ(str, "local ipv6")) { /* source IPv6 address to be used for packets */
return parse_ip6(&targ->local_ipv6, pkey);
}