Merge pull request #3796 from donaldsharp/mpls_deletion_cleanup

zebra: Deletion of a lsp is not a failure event
This commit is contained in:
Mark Stapp 2019-02-13 15:19:39 -05:00 committed by GitHub
commit c919c6b6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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