From: Donald Sharp Date: Thu, 13 Dec 2018 15:42:42 +0000 (-0500) Subject: zebra: On route removal failure return proper message X-Git-Tag: frr-7.1-dev~96^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=dba52387b701f3595044663e95bf594e64ac033b;p=mirror%2Ffrr.git 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 --- 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),