From 5ca2a8ae19c93d24070df066d027da791294b827 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 29 Jul 2019 12:59:45 +0000 Subject: fib: fix calls to unformat_fib_path Type: fix Ticket: 1728 Change-Id: I679c2b8c5b0f751c9476db3669ab3f6c26dcdd28 Signed-off-by: Neale Ranns --- src/plugins/l3xc/l3xc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/l3xc') diff --git a/src/plugins/l3xc/l3xc.c b/src/plugins/l3xc/l3xc.c index 77c062f39d6..9839278dfb2 100644 --- a/src/plugins/l3xc/l3xc.c +++ b/src/plugins/l3xc/l3xc.c @@ -199,6 +199,7 @@ l3xc_cmd (vlib_main_t * vm, unformat_input_t _line_input, *line_input = &_line_input; fib_route_path_t *rpaths = NULL, rpath; u32 sw_if_index, is_del, is_ip6; + dpo_proto_t payload_proto; vnet_main_t *vnm; int rv = 0; @@ -224,7 +225,7 @@ l3xc_cmd (vlib_main_t * vm, else if (unformat (line_input, "add")) is_del = 0; else if (unformat (line_input, "via %U", - unformat_fib_route_path, &rpath)) + unformat_fib_route_path, &rpath, &payload_proto)) vec_add1 (rpaths, rpath); else return (clib_error_return (0, "unknown input '%U'", -- cgit 1.2.3-korg