From: Donatas Abraitis Date: Fri, 6 May 2022 19:10:56 +0000 (+0300) Subject: bgpd: Use uint64_t for bgp->flags X-Git-Tag: base_8.3~90^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=fd6b4f065a8978f6c54eaed5834b381eb8444119;p=mirror%2Ffrr.git 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 --- diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 59f05daf18..79ed787bfc 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -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)