summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-18 08:09:29 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 12:21:00 -0500
commit02c0866dbee8b1ecfec3bcf7167f35e24eceede9 (patch)
tree0a061ff96b5ca1ea26984b8a864fa3fe6fe56334 /lib/zclient.h
parentff1fb8d5f6171ed66f00339152f3e8433a7ff65d (diff)
lib, zebra: On startup send mlag role as part of the capabilities
On startup send the mlag role as part of the capabilities to the end protocol. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 8fe711f310..831cccfb7e 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -36,6 +36,8 @@
/* For union pw_protocol_fields */
#include "pw.h"
+#include "mlag.h"
+
/* For input/output buffer to zebra. */
#define ZEBRA_MAX_PACKET_SIZ 16384
@@ -171,6 +173,7 @@ struct redist_proto {
struct zclient_capabilities {
uint32_t ecmp;
bool mpls_enabled;
+ enum mlag_role role;
};
/* Structure for the zebra client. */