]>
git.proxmox.com Git - mirror_frr.git/commitdiff
projects
/
mirror_frr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff1821a
)
bgpd: Add some additional attribute information to dump
author
Donald Sharp
<sharpd@cumulusnetworks.com>
Mon, 23 Apr 2018 19:24:26 +0000
(15:24 -0400)
committer
Donald 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
patch
|
blob
|
blame
|
history
diff --git
a/bgpd/bgp_attr.c
b/bgpd/bgp_attr.c
index ef839dba6af4aa217fe63dedb2e45c12d424eb68..a8ba892f39a72d829d5233c043c4603705a4a0ef 100644
(file)
--- a/
bgpd/bgp_attr.c
+++ b/
bgpd/bgp_attr.c
@@
-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)