mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 13:27:53 +00:00
zebra: fix get_old_instance api
One of the dplane context accessors was returning the wrong value; correct it. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
d8c16a9519
commit
675440ad5a
@ -444,7 +444,7 @@ uint16_t dplane_ctx_get_old_instance(const struct zebra_dplane_ctx *ctx)
|
||||
{
|
||||
DPLANE_CTX_VALID(ctx);
|
||||
|
||||
return ctx->zd_instance;
|
||||
return ctx->zd_old_instance;
|
||||
}
|
||||
|
||||
uint32_t dplane_ctx_get_metric(const struct zebra_dplane_ctx *ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user