]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: Add some additional attribute information to dump
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Apr 2018 19:24:26 +0000 (15:24 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Apr 2018 23:17:18 +0000 (19:17 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_attr.c

index ef839dba6af4aa217fe63dedb2e45c12d424eb68..a8ba892f39a72d829d5233c043c4603705a4a0ef 100644 (file)
@@ -593,6 +593,9 @@ static void attr_show_all_iterator(struct hash_backet *backet, struct vty *vty)
 
        vty_out(vty, "attr[%ld] nexthop %s\n", attr->refcnt,
                inet_ntoa(attr->nexthop));
+       vty_out(vty, "\tflags: %" PRIu64 " med: %u local_pref: %u origin: %u weight: %u\n",
+               attr->flag, attr->med, attr->local_pref, attr->origin,
+               attr->weight);
 }
 
 void attr_show_all(struct vty *vty)