summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryedg <yedg@wangsu.com>2020-08-29 12:01:00 +0800
committerNeale Ranns <nranns@cisco.com>2021-01-05 08:27:01 +0000
commit4dd43087d0f3e444b336bc2f6a6d21d09aa0fed9 (patch)
tree7a87970fd7dd7605f227b0f2a07c193936bd9d62
parent17672aa49d3ebefb217d6f2c67f698b3e7e1f86c (diff)
ipsec: ipsec cli nexthop error
Type: fix Signed-off-by: yedonggang <yedg@wangsu.com> Change-Id: Icc3681b591e6deb93c3ff1fda5f9471fa3c96cc6
-rw-r--r--src/vnet/ipsec/ipsec_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_cli.c b/src/vnet/ipsec/ipsec_cli.c
index 407ae868adf..1486bbd89fd 100644
--- a/src/vnet/ipsec/ipsec_cli.c
+++ b/src/vnet/ipsec/ipsec_cli.c
@@ -885,7 +885,7 @@ create_ipsec_tunnel_command_fn (vlib_main_t * vm,
;
else if (unformat (line_input, "del"))
is_add = 0;
- else if (unformat (line_input, "nh &U", unformat_ip_address, &nh))
+ else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
;
else
{