summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-10-01 12:08:10 -0700
committerNeale Ranns <nranns@cisco.com>2017-10-04 09:53:41 +0000
commit7b7ba572ab486d57b59c12af521175a6bcd7a52b (patch)
tree2f26ae54d7bd7f4dda9990b1444453260c7c5c55 /src/vnet/fib
parente2a4f07200d8d1eb6d7f801ed57ac14619a4f776 (diff)
Dump of deag/lookup routes has is_drop=1 (VPP-995)
Change-Id: I58772a83e22885a9ea8a7a981d2bcb4b31a050d2 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/fib')
-rw-r--r--src/vnet/fib/fib_path.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c
index cf5a463d53c..f126333425a 100644
--- a/src/vnet/fib/fib_path.c
+++ b/src/vnet/fib/fib_path.c
@@ -2168,6 +2168,8 @@ fib_path_encode (fib_node_index_t path_list_index,
case FIB_PATH_TYPE_SPECIAL:
break;
case FIB_PATH_TYPE_DEAG:
+ api_rpath->rpath.frp_fib_index = path->deag.fp_tbl_id;
+ api_rpath->dpo = path->fp_dpo;
break;
case FIB_PATH_TYPE_RECURSIVE:
api_rpath->rpath.frp_addr = path->recursive.fp_nh.fp_ip;