summaryrefslogtreecommitdiffstats
path: root/lib/route_opaque.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/route_opaque.h')
-rw-r--r--lib/route_opaque.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/route_opaque.h b/lib/route_opaque.h
index 7c4e9a16e..c5e7d6a32 100644
--- a/lib/route_opaque.h
+++ b/lib/route_opaque.h
@@ -36,6 +36,12 @@ struct bgp_zebra_opaque {
/* Show at least 10 large-communities AA:BB:CC */
char lcommunity[LCOMMUNITY_SIZE * 30];
+
+ /* 32 bytes seems enough because of
+ * bgp_path_selection_confed_as_path which is
+ * `Confederation based AS Path`.
+ */
+ char selection_reason[BGP_MAX_SELECTION_REASON_STR_BUF];
};
static_assert(sizeof(struct bgp_zebra_opaque) <= ZAPI_MESSAGE_OPAQUE_LENGTH,