bgpd: Use uint64_t for bgp->flags

We will hit this soon because uint32_t will be not enough.

Two more flags gonna be added for rfc8538.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2022-05-06 22:10:56 +03:00
parent 00b0b74847
commit fd6b4f065a

View File

@ -453,7 +453,7 @@ struct bgp {
#define BGP_LINK_BW_REF_BW 1
/* BGP flags. */
uint32_t flags;
uint64_t flags;
#define BGP_FLAG_ALWAYS_COMPARE_MED (1 << 0)
#define BGP_FLAG_DETERMINISTIC_MED (1 << 1)
#define BGP_FLAG_MED_MISSING_AS_WORST (1 << 2)