summaryrefslogtreecommitdiff
path: root/bgpd/bgpd.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-07-07 16:01:19 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-07-07 16:19:54 +0300
commit04dfcb14ff9a02b053dfed0b3f657c6643d73830 (patch)
tree02c6b8199893c2ea3f687f79382326e7ff545a37 /bgpd/bgpd.h
parente3ba70e8df672f42402ea73f01176e49a3da748e (diff)
bgpd: Deprecate Prestandard Route Refresh capability (128)
More details: https://www.rfc-editor.org/rfc/rfc8810.html Not sure if we want to maintain the old code more. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r--bgpd/bgpd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 50cd9d17f7..b8208cecee 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -1242,8 +1242,7 @@ struct peer {
/* Capability flags (reset in bgp_stop) */
uint32_t cap;
#define PEER_CAP_REFRESH_ADV (1U << 0) /* refresh advertised */
-#define PEER_CAP_REFRESH_OLD_RCV (1U << 1) /* refresh old received */
-#define PEER_CAP_REFRESH_NEW_RCV (1U << 2) /* refresh rfc received */
+#define PEER_CAP_REFRESH_RCV (1U << 2) /* refresh rfc received */
#define PEER_CAP_DYNAMIC_ADV (1U << 3) /* dynamic advertised */
#define PEER_CAP_DYNAMIC_RCV (1U << 4) /* dynamic received */
#define PEER_CAP_RESTART_ADV (1U << 5) /* restart advertised */