summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-05-06 21:10:56 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-05-06 21:12:41 +0200
commitfd6b4f065a8978f6c54eaed5834b381eb8444119 (patch)
treead4a53ac088d7e4e0bff664983db45a0123db9d7 /bgpd
parentMerge pull request #11145 from donaldsharp/bgp_capability (diff)
downloadfrr-fd6b4f065a8978f6c54eaed5834b381eb8444119.tar.xz
frr-fd6b4f065a8978f6c54eaed5834b381eb8444119.zip
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>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 59f05daf1..79ed787bf 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)