summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 54cff9273f0..64e288761ed 100644
--- a/src/vnet/fib/fib_api.c
+++ b/src/vnet/fib/fib_api.c
@@ -418,6 +418,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;