summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-05 08:50:18 -0800
committerNeale Ranns <nranns@cisco.com>2019-03-05 08:50:18 -0800
commitd7f872e8d87eedd10189c6a41f1a6a394160f734 (patch)
treeaeb32b086b9b19153439001555c312c4af04b6c3 /src/plugins
parent7ab99702a39fa630084c5100075c567ed9961da4 (diff)
GBP: format include EPG index
Change-Id: I1789a4ea44cfc6a11ad8750074ffcf14c4ab8712 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gbp/gbp_endpoint_group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/gbp/gbp_endpoint_group.c b/src/plugins/gbp/gbp_endpoint_group.c
index dc4440743c7..a8c0b0f9a91 100644
--- a/src/plugins/gbp/gbp_endpoint_group.c
+++ b/src/plugins/gbp/gbp_endpoint_group.c
@@ -331,7 +331,8 @@ format_gbp_endpoint_group (u8 * s, va_list * args)
vnet_main_t *vnm = vnet_get_main ();
if (NULL != gg)
- s = format (s, "%d, sclass:%d bd:[%d,%d], rd:[%d] uplink:%U locks:%d",
+ s = format (s, "[%d] %d, sclass:%d bd:[%d,%d], rd:[%d] uplink:%U locks:%d",
+ gg - gbp_endpoint_group_pool,
gg->gg_id,
gg->gg_sclass,
gbp_endpoint_group_get_bd_id(gg), gg->gg_bd_index,