diff options
| author | Mark Stapp <mstapp@nvidia.com> | 2022-02-17 09:53:25 -0500 |
|---|---|---|
| committer | Mark Stapp <mstapp@nvidia.com> | 2022-02-17 09:54:15 -0500 |
| commit | abc246e19345cbd2bc74c7dc50dac0b9cf2addf8 (patch) | |
| tree | 21cdbbcc14fbf61fa319360553d18c061ca37f2f /staticd/static_zebra.c | |
| parent | 423e32cb01bf3cf8c34674b15f1af107ca28a3eb (diff) | |
staticd: capture zebra's advertised ECMP limit
Capture the ECMP limit advertised by zebra (via zapi).
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'staticd/static_zebra.c')
| -rw-r--r-- | staticd/static_zebra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c index 311aeda338..a62225294a 100644 --- a/staticd/static_zebra.c +++ b/staticd/static_zebra.c @@ -205,6 +205,7 @@ static int static_zebra_nexthop_update(ZAPI_CALLBACK_ARGS) static void static_zebra_capabilities(struct zclient_capabilities *cap) { mpls_enabled = cap->mpls_enabled; + zebra_ecmp_count = cap->ecmp; } static unsigned int static_nht_hash_key(const void *data) |
