diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-13 10:42:42 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-13 20:00:33 -0500 |
| commit | dba52387b701f3595044663e95bf594e64ac033b (patch) | |
| tree | b9343b78803690cd140101214a33d20084d4bb66 /zebra/zebra_rib.c | |
| parent | f4aaa039075548760cd5e619c5d241dc3bbae22c (diff) | |
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |
