ipsec: ipsec cli nexthop error 05/28605/2
authoryedg <yedg@wangsu.com>
Sat, 29 Aug 2020 04:01:00 +0000 (12:01 +0800)
committerNeale Ranns <nranns@cisco.com>
Tue, 5 Jan 2021 08:27:01 +0000 (08:27 +0000)
Type: fix
Signed-off-by: yedonggang <yedg@wangsu.com>
Change-Id: Icc3681b591e6deb93c3ff1fda5f9471fa3c96cc6

src/vnet/ipsec/ipsec_cli.c

index 407ae86..1486bbd 100644 (file)
@@ -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
        {