Route counters in the stats segment
[vpp.git] / src / vat / api_format.c
index 5e1114f..61b3497 100644 (file)
@@ -20440,9 +20440,9 @@ vl_api_ip_fib_details_t_handler (vl_api_ip_fib_details_t * mp)
   int i;
 
   print (vam->ofp,
-        "table-id %d, prefix %U/%d",
+        "table-id %d, prefix %U/%d stats-index %d",
         ntohl (mp->table_id), format_ip4_address, mp->address,
-        mp->address_length);
+        mp->address_length, ntohl (mp->stats_index));
   fp = mp->path;
   for (i = 0; i < count; i++)
     {
@@ -20652,9 +20652,9 @@ vl_api_ip6_fib_details_t_handler (vl_api_ip6_fib_details_t * mp)
   int i;
 
   print (vam->ofp,
-        "table-id %d, prefix %U/%d",
+        "table-id %d, prefix %U/%d stats-index %d",
         ntohl (mp->table_id), format_ip6_address, mp->address,
-        mp->address_length);
+        mp->address_length, ntohl (mp->stats_index));
   fp = mp->path;
   for (i = 0; i < count; i++)
     {