Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3f8c381
)
fib: path flag FIB_API_PATH_TYPE_INTERFACE_RX not copied to client
50/28350/1
author
IJsbrand Wijnands
<
[email protected]
>
Thu, 5 Mar 2020 14:25:32 +0000
(06:25 -0800)
committer
Andrew Yourtchenko
<
[email protected]
>
Thu, 13 Aug 2020 08:12:25 +0000
(08:12 +0000)
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 <
[email protected]
>
Change-Id: I612044d2f564c852f83fceb63ce750a6330e1365
(cherry picked from commit
79437c8dbc707e6f60e7a2425fac15c4153f71b3
)
src/vnet/fib/fib_api.c
patch
|
blob
|
history
diff --git
a/src/vnet/fib/fib_api.c
b/src/vnet/fib/fib_api.c
index
856271f
..
fe46351
100644
(file)
--- 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;