summaryrefslogtreecommitdiffstats
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:55 +0000
commit8ec5f4d742b992382e4ff960224b051d6c526fa7 (patch)
tree8984c5ac1a004f5882c9a53ba65ae7e41cdce6e8
parentdab7eb87bc2ed33f8fee8c3e9aa0fce50606de21 (diff)
Dump of deag/lookup routes has is_drop=1 (VPP-995)
Change-Id: I58772a83e22885a9ea8a7a981d2bcb4b31a050d2 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit 7b7ba572ab486d57b59c12af521175a6bcd7a52b)
-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;