From dba52387b701f3595044663e95bf594e64ac033b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 13 Dec 2018 10:42:42 -0500 Subject: [PATCH] zebra: On route removal failure return proper message When a route removal failure happens return to the installing protocol that the route deletion failed. Signed-off-by: Donald Sharp --- zebra/zebra_rib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index d628b801a5..44fedd8668 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -1883,7 +1883,7 @@ static void rib_process_after(struct zebra_dplane_ctx *ctx) zvrf->removals++; } else { zsend_route_notify_owner_ctx(ctx, - ZAPI_ROUTE_FAIL_INSTALL); + ZAPI_ROUTE_REMOVE_FAIL); zlog_warn("%u:%s: Route Deletion failure", dplane_ctx_get_vrf(ctx), -- 2.39.5