]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: Print IPv6 extended community for `show bgp attribute-info`
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 10 Apr 2024 08:31:43 +0000 (11:31 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 22 Apr 2024 14:49:16 +0000 (17:49 +0300)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_attr.c

index 0ccdb338e0bbd1a85638b005dafbd4a85df563cc..dc13616b1d486f92695ae02725ea309d7c227a63 100644 (file)
@@ -915,12 +915,13 @@ 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,
-               "\taspath: %s Community: %s Extended Community: %s Large Community: %s\n",
+       vty_out(vty, "\taspath: %s Community: %s Large Community: %s\n",
                aspath_print(attr->aspath),
                community_str(attr->community, false, false),
-               ecommunity_str(attr->ecommunity),
                lcommunity_str(attr->lcommunity, false, false));
+       vty_out(vty, "\tExtended Community: %s Extended IPv6 Community: %s\n",
+               ecommunity_str(attr->ecommunity),
+               ecommunity_str(attr->ipv6_ecommunity));
 }
 
 void attr_show_all(struct vty *vty)