diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-02-23 22:54:12 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-02-23 22:54:12 +0200 |
| commit | 2c722516c3b8cf3fe63853ed8cae2d518ec62f59 (patch) | |
| tree | 5397b50193caf5874bb01f61c8d543526a7cb507 /lib/imsg-buffer.c | |
| parent | 4b0d6b4244aff02be34c5b416b25b7259bf66350 (diff) | |
bgpd: Convert peer_af_flag_check() to bool
Since we increased peer->af_flags from uint32_t to uint64_t,
peer_af_flag_check() was historically returning integer, and not bool
as should be.
The bug was that if we have af_flags higher than uint32_t it will never
returned a right value.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
