summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-08-02 20:56:35 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-08-03 08:25:20 -0400
commit68f52d7a0c235928e631e2c2a8e7504b42df45a7 (patch)
tree78867a1aab7a0ece001b445f9d764570253b3580 /lib/zclient.c
parent1f5611c06d1c243b42279748788f0627793ead9c (diff)
lib, zebra: Send up whether or not v6_with_v4_nexthops are supported
After Zebra knows it's capability surrounding v6 with v4 nexthops have it send this ability up to interested parties. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index c36bcc6e2e..294a78feb0 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -3876,6 +3876,7 @@ static int zclient_capability_decode(ZAPI_CALLBACK_ARGS)
cap.mpls_enabled = !!mpls_enabled;
STREAM_GETL(s, cap.ecmp);
STREAM_GETC(s, cap.role);
+ STREAM_GETC(s, cap.v6_with_v4_nexthop);
if (zclient->zebra_capabilities)
(*zclient->zebra_capabilities)(&cap);