zebra: Unset old_re as queued.

When switching routes from one route type to another actually
unset the old route as enqueued.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2019-02-09 10:45:42 -05:00
parent 3f2b1b56cc
commit 9ef0c6ba87

View File

@ -1932,7 +1932,7 @@ static void rib_process_result(struct zebra_dplane_ctx *ctx)
dplane_ctx_get_vrf(ctx), dplane_ctx_get_vrf(ctx),
dest_str, old_re); dest_str, old_re);
} else } else
UNSET_FLAG(re->status, ROUTE_ENTRY_QUEUED); UNSET_FLAG(old_re->status, ROUTE_ENTRY_QUEUED);
} }
switch (op) { switch (op) {