summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorIJsbrand Wijnands <ice@cisco.com>2020-03-05 06:25:32 -0800
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-13 08:12:25 +0000
commitcd243dea976becc83eb379b6a726f742a2794f40 (patch)
treed6043109f4dc010d5a0b2ac806b7eac28117ba5c /src/vnet
parent3f8c381bfc469bfb252abaad851f83ffbd082b96 (diff)
fib: path flag FIB_API_PATH_TYPE_INTERFACE_RX not copied to client
This path flag FIB_API_PATH_TYPE_INTERFACE_RX is not copied to the client bin_api. Type: fix Change-Id: Signed-off-by: IJsbrand Wijnands <ice@cisco.com> Change-Id: I612044d2f564c852f83fceb63ce750a6330e1365 (cherry picked from commit 79437c8dbc707e6f60e7a2425fac15c4153f71b3)
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/fib/fib_api.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_api.c b/src/vnet/fib/fib_api.c
index 856271f0bc6..fe463518434 100644
--- a/src/vnet/fib/fib_api.c
+++ b/src/vnet/fib/fib_api.c
@@ -417,6 +417,10 @@ fib_api_path_encode (const fib_route_path_t * rpath,
out->type = FIB_API_PATH_TYPE_BIER_IMP;
out->nh.obj_id = rpath->frp_bier_imp;
}
+ else if (rpath->frp_flags & FIB_ROUTE_PATH_INTF_RX)
+ {
+ out->type = FIB_API_PATH_TYPE_INTERFACE_RX;
+ }
else
{
out->type = FIB_API_PATH_TYPE_NORMAL;