summaryrefslogtreecommitdiff
path: root/bgpd/bgp_open.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-03 16:19:21 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-11-03 16:19:21 +0200
commit5bb2aa89d01fef58c92f526a07574f31800ac055 (patch)
treeff1e08e841cba5f7c1672a4caa5df0b350535079 /bgpd/bgp_open.h
parent70f29b9f7bf157cd439518cba0ecd52efcf22429 (diff)
bgpd: Check and print if we receive ORF reserved type
Just for debugging purposes and a better visibility. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_open.h')
-rw-r--r--bgpd/bgp_open.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_open.h b/bgpd/bgp_open.h
index 19ddd9bd25..6be94443c8 100644
--- a/bgpd/bgp_open.h
+++ b/bgpd/bgp_open.h
@@ -76,6 +76,7 @@ struct graceful_restart_af {
/* Cooperative Route Filtering Capability. */
/* ORF Type */
+#define ORF_TYPE_RESERVED 0
#define ORF_TYPE_PREFIX 64
#define ORF_TYPE_PREFIX_OLD 128