summaryrefslogtreecommitdiff
path: root/bgpd/bgp_debug.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-21 17:36:48 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-24 07:33:13 -0400
commitcb9f254c01a79c15dfa21f719396ca0d02e1c4c2 (patch)
tree74e2c8ae24398a808400547b40759629b74b318f /bgpd/bgp_debug.h
parent5b299acd1fbb8e4a9abe9c35a7b35d5e9af2f170 (diff)
bgpd: Make bgp_debug_bestpath take a `struct bgp_node`
Defer the grabbing of the prefix for as long as is possible. This is a long term rework of how we access the `struct bgp_node` to only use accessor functions. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_debug.h')
-rw-r--r--bgpd/bgp_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h
index 51f939692e..4ce1e1dcef 100644
--- a/bgpd/bgp_debug.h
+++ b/bgpd/bgp_debug.h
@@ -168,7 +168,7 @@ extern int bgp_debug_neighbor_events(struct peer *peer);
extern int bgp_debug_keepalive(struct peer *peer);
extern bool bgp_debug_update(struct peer *peer, const struct prefix *p,
struct update_group *updgrp, unsigned int inbound);
-extern bool bgp_debug_bestpath(struct prefix *p);
+extern bool bgp_debug_bestpath(struct bgp_node *rn);
extern bool bgp_debug_zebra(const struct prefix *p);
extern const char *bgp_debug_rdpfxpath2str(afi_t, safi_t, struct prefix_rd *,