From 91d341c260c21b231543b29553d28d48b6148120 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sat, 29 Jul 2017 11:50:31 -0700 Subject: Fix fib_path encoding (VPP-921) Change-Id: I4c3b22c333b052d068f1a5977e9d4e38471693d6 Signed-off-by: Florin Coras --- src/vnet/fib/fib_path.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c index a32baf217f9..00a3fa63d44 100644 --- a/src/vnet/fib/fib_path.c +++ b/src/vnet/fib/fib_path.c @@ -2163,9 +2163,11 @@ fib_path_encode (fib_node_index_t path_list_index, case FIB_PATH_TYPE_RECEIVE: api_rpath->rpath.frp_addr = path->receive.fp_addr; api_rpath->rpath.frp_sw_if_index = path->receive.fp_interface; + api_rpath->dpo = path->fp_dpo; break; case FIB_PATH_TYPE_ATTACHED: api_rpath->rpath.frp_sw_if_index = path->attached.fp_interface; + api_rpath->dpo = path->fp_dpo; break; case FIB_PATH_TYPE_ATTACHED_NEXT_HOP: api_rpath->rpath.frp_sw_if_index = path->attached_next_hop.fp_interface; -- cgit 1.2.3-korg