From d557b187f75b4c754b2bbd0f79ae52aabaab1448 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 7 Oct 2019 08:23:38 +0000 Subject: ip: MFIB CLI fix for parsing path flags Type: fix Change-Id: I7ed9726d8c5ca26715a84b004a18fd7f93142486 Signed-off-by: Neale Ranns (cherry picked from commit 46023762d1da674ff73954f0d1523d450bfcf03c) --- src/vnet/fib/fib_types.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vnet/fib') diff --git a/src/vnet/fib/fib_types.c b/src/vnet/fib/fib_types.c index 44fa463dc50..7b07fa976a4 100644 --- a/src/vnet/fib/fib_types.c +++ b/src/vnet/fib/fib_types.c @@ -18,6 +18,7 @@ #include #include #include +#include #include /* @@ -609,6 +610,9 @@ unformat_fib_route_path (unformat_input_t * input, va_list * args) rpath->frp_weight = 1; rpath->frp_flags |= FIB_ROUTE_PATH_LOCAL; } + else if (unformat (input, "%U", + unformat_mfib_itf_flags, &rpath->frp_mitf_flags)) + ; else if (unformat (input, "out-labels")) { while (unformat (input, "%U", -- cgit 1.2.3-korg