Merge pull request #2113 from donaldsharp/attr_debug

bgpd: Add some additional attribute information to dump
This commit is contained in:
Russ White 2018-04-24 09:04:03 -04:00 committed by GitHub
commit 2bf50cee89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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)