diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-02-23 22:54:12 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-24 14:29:24 +0000 |
| commit | 8587e5434edbb901d9f5d37e43c45a4fa5894ceb (patch) | |
| tree | eb9f0c997388bc8aea23c32943c26609a6cd8832 /pimd/pim_errors.h | |
| parent | 9a72aeeb044fc5d7300b4d021a2f62cd50b41cb4 (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>
(cherry picked from commit 2c722516c3b8cf3fe63853ed8cae2d518ec62f59)
Diffstat (limited to 'pimd/pim_errors.h')
0 files changed, 0 insertions, 0 deletions
