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 79437c8dbc
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
3f8c381bfc
commit
cd243dea97
@ -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;
|
||||
|
Reference in New Issue
Block a user