diff options
author | Neale Ranns <nranns@cisco.com> | 2018-07-10 03:00:07 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-07-10 21:22:53 +0000 |
commit | de450cb3cca111c1c8545b41b9e83f1212465a92 (patch) | |
tree | 3d0d007869ffe036e8c582afcfb1fef500992e74 /src/vat | |
parent | 8008d7cdfcf71389c98d2968070b8cda1ed433f9 (diff) |
FIB path dump: fix next-hop-table ID for recursive routes
Change-Id: I57b4ebca29c0b185770373e8878f89a9bd13b742
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vat')
-rw-r--r-- | src/vat/api_format.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c index b87ec932c28..9ee74aa9d37 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -20148,17 +20148,19 @@ vl_api_ip_fib_details_t_handler (vl_api_ip_fib_details_t * mp) if (fp->afi == IP46_TYPE_IP6) print (vam->ofp, " weight %d, sw_if_index %d, is_local %d, is_drop %d, " - "is_unreach %d, is_prohitbit %d, afi %d, next_hop %U", + "is_unreach %d, is_prohitbit %d, afi %d, next_hop %U, " + "next_hop_table %d", ntohl (fp->weight), ntohl (fp->sw_if_index), fp->is_local, fp->is_drop, fp->is_unreach, fp->is_prohibit, fp->afi, - format_ip6_address, fp->next_hop); + format_ip6_address, fp->next_hop, ntohl (fp->table_id)); else if (fp->afi == IP46_TYPE_IP4) print (vam->ofp, " weight %d, sw_if_index %d, is_local %d, is_drop %d, " - "is_unreach %d, is_prohitbit %d, afi %d, next_hop %U", + "is_unreach %d, is_prohitbit %d, afi %d, next_hop %U, " + "next_hop_table %d", ntohl (fp->weight), ntohl (fp->sw_if_index), fp->is_local, fp->is_drop, fp->is_unreach, fp->is_prohibit, fp->afi, - format_ip4_address, fp->next_hop); + format_ip4_address, fp->next_hop, ntohl (fp->table_id)); fp++; } } |