From fd6b4f065a8978f6c54eaed5834b381eb8444119 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Fri, 6 May 2022 22:10:56 +0300 Subject: [PATCH] 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 --- bgpd/bgpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)