diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-27 00:11:58 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-06-23 17:32:52 +0200 |
commit | 9bcb3eef541180a17341d1d4510586efc35711db (patch) | |
tree | 686e6d7721a180a168cb3353e2c900b63069e6c3 /bgpd/bgp_debug.c | |
parent | Merge pull request #6625 from ton31337/fix/network_check_import_for_static_bgp (diff) | |
download | frr-9bcb3eef541180a17341d1d4510586efc35711db.tar.xz frr-9bcb3eef541180a17341d1d4510586efc35711db.zip |
bgp: rename bgp_node to bgp_dest
This is the bulk part extracted from "bgpd: Convert from `struct
bgp_node` to `struct bgp_dest`". It should not result in any functional
change.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r-- | bgpd/bgp_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 396b7ba70..2ca9e5ee1 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -2539,11 +2539,11 @@ bool bgp_debug_update(struct peer *peer, const struct prefix *p, return false; } -bool bgp_debug_bestpath(struct bgp_node *rn) +bool bgp_debug_bestpath(struct bgp_dest *dest) { if (BGP_DEBUG(bestpath, BESTPATH)) { if (bgp_debug_per_prefix( - bgp_node_get_prefix(rn), term_bgp_debug_bestpath, + bgp_dest_get_prefix(dest), term_bgp_debug_bestpath, BGP_DEBUG_BESTPATH, bgp_debug_bestpath_prefixes)) return true; } |