Skip to content

Commit

Permalink
bgpd: Further extend show bgp attribute-info
Browse files Browse the repository at this point in the history
Fill out a bit more data about what is being held.

Signed-off-by: Donald Sharp <[email protected]>
  • Loading branch information
donaldsharp committed Mar 16, 2024
1 parent e5061d7 commit cf102f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bgpd/bgp_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,11 @@ static void attr_show_all_iterator(struct hash_bucket *bucket, struct vty *vty)
"\n",
attr->flag, attr->distance, attr->med, attr->local_pref,
attr->origin, attr->weight, attr->label, sid, attr->aigp_metric);
vty_out(vty,
"\tnh_ifindex: %u nh_flags: %u distance: %u nexthop_global: %pI6 nexthop_local: %pI6 nexthop_local_ifindex: %u\n",
attr->nh_ifindex, attr->nh_flags, attr->distance,
&attr->mp_nexthop_global, &attr->mp_nexthop_local,
attr->nh_lla_ifindex);
vty_out(vty,
"\taspath: %s Community: %s Extended Community: %s Large Community: %s\n",
aspath_print(attr->aspath),
Expand Down

0 comments on commit cf102f0

Please sign in to comment.