diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-13 18:49:59 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-13 18:49:59 +0100 |
commit | 3fd385c6852e13e1acc7e09a7a46073b312f8c54 (patch) | |
tree | 7e6b3728fc91b208c7edfc79fed6b77ac30e932d /zebra | |
parent | Merge pull request #3753 from LabNConsulting/working/master/topotest-l3mdev=1 (diff) | |
download | frr-3fd385c6852e13e1acc7e09a7a46073b312f8c54.tar.xz frr-3fd385c6852e13e1acc7e09a7a46073b312f8c54.zip |
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>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/zebra_mpls.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 0aac7d7b1..78c07f9aa 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -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: |