From 02c0866dbee8b1ecfec3bcf7167f35e24eceede9 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 18 Dec 2018 08:09:29 -0500 Subject: 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 --- lib/zclient.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/zclient.c') diff --git a/lib/zclient.c b/lib/zclient.c index d2a6c75548..1c40750db0 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -2355,6 +2355,7 @@ static void zclient_capability_decode(int command, struct zclient *zclient, STREAM_GETC(s, mpls_enabled); cap.mpls_enabled = !!mpls_enabled; STREAM_GETL(s, cap.ecmp); + STREAM_GETC(s, cap.role); if (zclient->zebra_capabilities) (*zclient->zebra_capabilities)(&cap); -- cgit v1.2.3