summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
-rw-r--r--zebra/zebra_mpls_openbsd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c
index 33f0d49d4d..44f89f0b3b 100644
--- a/zebra/zebra_mpls_openbsd.c
+++ b/zebra/zebra_mpls_openbsd.c
@@ -299,10 +299,7 @@ int kernel_add_lsp(zebra_lsp_t *lsp)
if (!lsp || !lsp->best_nhlfe) // unexpected
return -1;
- UNSET_FLAG(lsp->flags, LSP_FLAG_CHANGED);
ret = kernel_lsp_cmd(RTM_ADD, lsp);
- if (!ret)
- SET_FLAG(lsp->flags, LSP_FLAG_INSTALLED);
return ret;
}
@@ -314,11 +311,7 @@ int kernel_upd_lsp(zebra_lsp_t *lsp)
if (!lsp || !lsp->best_nhlfe) // unexpected
return -1;
- UNSET_FLAG(lsp->flags, LSP_FLAG_CHANGED);
- UNSET_FLAG(lsp->flags, LSP_FLAG_INSTALLED);
ret = kernel_lsp_cmd(RTM_CHANGE, lsp);
- if (!ret)
- SET_FLAG(lsp->flags, LSP_FLAG_INSTALLED);
return ret;
}
@@ -334,8 +327,6 @@ int kernel_del_lsp(zebra_lsp_t *lsp)
return -1;
ret = kernel_lsp_cmd(RTM_DELETE, lsp);
- if (!ret)
- UNSET_FLAG(lsp->flags, LSP_FLAG_INSTALLED);
return ret;
}