diff options
Diffstat (limited to 'bgpd/bgp_debug.c')
| -rw-r--r-- | bgpd/bgp_debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 232f53c778..8e4d8bf4f2 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -450,6 +450,10 @@ bgp_dump_attr (struct peer *peer, struct attr *attr, char *buf, size_t size) snprintf (buf + strlen (buf), size - strlen (buf), ", path %s", aspath_print (attr->aspath)); + if (CHECK_FLAG (attr->flag, ATTR_FLAG_BIT (BGP_ATTR_LABEL_INDEX))) + snprintf (buf + strlen (buf), size - strlen (buf), ", label-index %u", + attr->extra->label_index); + if (strlen (buf) > 1) return 1; else |
