diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-05-05 11:31:33 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-05-13 08:40:41 -0400 |
| commit | d032ddcedc421eb20e77cc008055a01ac66b3ff4 (patch) | |
| tree | 018c1420ec57b7600cb9c9e1efa248455f97e1f2 /bgpd/bgp_debug.h | |
| parent | 4dc6d51122182a179a2838ad6e498038bdd9b7a5 (diff) | |
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 407a74340a..62f5340dfd 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); |
