zebra: Deletion of a lsp is not a failure event

FRR is reporting that a lsp deletion event as a failure
in the log messsages.  This will lead to confusion and
lots of fun debugging.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2019-02-13 12:49:59 -05:00
parent 01490ba25d
commit 3fd385c685

View File

@ -1800,6 +1800,7 @@ void zebra_mpls_lsp_dplane_result(struct zebra_dplane_ctx *ctx)
break; break;
case DPLANE_OP_LSP_DELETE: case DPLANE_OP_LSP_DELETE:
if (status != ZEBRA_DPLANE_REQUEST_SUCCESS)
flog_warn(EC_ZEBRA_LSP_DELETE_FAILURE, flog_warn(EC_ZEBRA_LSP_DELETE_FAILURE,
"LSP Deletion Failure: in-label %u", "LSP Deletion Failure: in-label %u",
dplane_ctx_get_in_label(ctx)); dplane_ctx_get_in_label(ctx));