summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-02-13 15:19:39 -0500
committerGitHub <noreply@github.com>2019-02-13 15:19:39 -0500
commitc919c6b6ef028d28643e978d55b4397fc749b79b (patch)
tree1e8b4657a0b935ad9fd1928437da8b324e1bd56e
parentcfef27e56ef3246a261ee0bf2810a46c08eebf8f (diff)
parent3fd385c6852e13e1acc7e09a7a46073b312f8c54 (diff)
Merge pull request #3796 from donaldsharp/mpls_deletion_cleanup
zebra: Deletion of a lsp is not a failure event
-rw-r--r--zebra/zebra_mpls.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index 0aac7d7b12..78c07f9aaf 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: