]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nht.c
bgpd: use bgp->name_pretty in debugs and add vrf to some output
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Nov 2019 12:35:36 +0000 (07:35 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 7 Nov 2019 12:20:41 +0000 (07:20 -0500)
commit8c1a4c1041ec7ce0f2f237ebe001e97fd948e6bc
tree4efd11cdd0a3b3cfb482f6acde6768238794bb2c
parent46ddfc409654e2a582c1be22a50726450f893942
bgpd: use bgp->name_pretty in debugs and add vrf to some output

Recently had a case where I was attempting to debug a nexthop tracking
issue across multiple bgp vrf's and since the setup vrf's in it with
overlapping address ranges, it became real fun real fast to track
vrf data associated.  Add a bit of code to allow us to figure out
what vrf we are in when we print out debug messages.

Look through the rest of the code and find debugs where we are
not using bgp->name_pretty and switch it over.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_dump.c
bgpd/bgp_nht.c