diff options
author | David Lamparter <equinox@diac24.net> | 2020-06-23 16:00:41 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-17 14:52:35 +0200 |
commit | 56ca3b5b3a0036687a5487bc322126ffb7c6e9d8 (patch) | |
tree | 1651e43e8aff9fea29ef28b4aeb400289402ed7e /bgpd/bgp_nexthop.c | |
parent | Merge pull request #7335 from opensourcerouting/fix-ti-lfa-topotest (diff) | |
download | frr-56ca3b5b3a0036687a5487bc322126ffb7c6e9d8.tar.xz frr-56ca3b5b3a0036687a5487bc322126ffb7c6e9d8.zip |
bgpd: add `%pBD` for printing `struct bgp_dest *`
`%pRN` is not appropriate anymore.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_nexthop.c')
-rw-r--r-- | bgpd/bgp_nexthop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index 0d8214e4d..29cca99fd 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -757,10 +757,10 @@ static void bgp_show_nexthop_paths(struct vty *vty, struct bgp *bgp, if (dest->pdest) { prefix_rd2str((struct prefix_rd *)bgp_dest_get_prefix(dest->pdest), buf1, sizeof(buf1)); - vty_out(vty, " %d/%d %pRN RD %s %s flags 0x%x\n", + vty_out(vty, " %d/%d %pBD RD %s %s flags 0x%x\n", afi, safi, dest, buf1, bgp_path->name_pretty, path->flags); } else - vty_out(vty, " %d/%d %pRN %s flags 0x%x\n", + vty_out(vty, " %d/%d %pBD %s flags 0x%x\n", afi, safi, dest, bgp_path->name_pretty, path->flags); } } |