diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-05-05 17:31:33 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-05-13 14:40:41 +0200 |
commit | d032ddcedc421eb20e77cc008055a01ac66b3ff4 (patch) | |
tree | 018c1420ec57b7600cb9c9e1efa248455f97e1f2 /bgpd/bgp_debug.h | |
parent | Merge pull request #11197 from opensourcerouting/feature/gr_notification_docs (diff) | |
download | frr-d032ddcedc421eb20e77cc008055a01ac66b3ff4.tar.xz frr-d032ddcedc421eb20e77cc008055a01ac66b3ff4.zip |
bgpd: Make bgp_debug.[ch] take `const struct peer *` and return bool
Several functions in bgp_debug.[ch] take a const struct peer *
and also return a bool instead of an int.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_debug.h')
-rw-r--r-- | bgpd/bgp_debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h index 407a74340..62f5340df 100644 --- a/bgpd/bgp_debug.h +++ b/bgpd/bgp_debug.h @@ -174,9 +174,9 @@ extern void bgp_notify_print(struct peer *peer, struct bgp_notify *bgp_notify, const char *direct, bool hard_reset); extern const struct message bgp_status_msg[]; -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, +extern bool bgp_debug_neighbor_events(const struct peer *peer); +extern bool bgp_debug_keepalive(const struct peer *peer); +extern bool bgp_debug_update(const struct peer *peer, const struct prefix *p, struct update_group *updgrp, unsigned int inbound); extern bool bgp_debug_bestpath(struct bgp_dest *dest); extern bool bgp_debug_zebra(const struct prefix *p); |