summaryrefslogtreecommitdiffstats
path: root/bfdd/bfdd_nb_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfdd/bfdd_nb_config.c')
-rw-r--r--bfdd/bfdd_nb_config.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/bfdd/bfdd_nb_config.c b/bfdd/bfdd_nb_config.c
index e4e97404d..8cf2f0a6f 100644
--- a/bfdd/bfdd_nb_config.c
+++ b/bfdd/bfdd_nb_config.c
@@ -423,20 +423,6 @@ int bfdd_bfd_profile_minimum_ttl_modify(struct nb_cb_modify_args *args)
return NB_OK;
}
-int bfdd_bfd_profile_minimum_ttl_destroy(struct nb_cb_destroy_args *args)
-{
- struct bfd_profile *bp;
-
- if (args->event != NB_EV_APPLY)
- return NB_OK;
-
- bp = nb_running_get_entry(args->dnode, NULL, true);
- bp->minimum_ttl = BFD_DEF_MHOP_TTL;
- bfd_profile_update(bp);
-
- return NB_OK;
-}
-
/*
* XPath: /frr-bfdd:bfdd/bfd/profile/echo-mode
*/
@@ -859,27 +845,3 @@ int bfdd_bfd_sessions_multi_hop_minimum_ttl_modify(
return NB_OK;
}
-
-int bfdd_bfd_sessions_multi_hop_minimum_ttl_destroy(
- struct nb_cb_destroy_args *args)
-{
- struct bfd_session *bs;
-
- switch (args->event) {
- case NB_EV_VALIDATE:
- case NB_EV_PREPARE:
- return NB_OK;
-
- case NB_EV_APPLY:
- break;
-
- case NB_EV_ABORT:
- return NB_OK;
- }
-
- bs = nb_running_get_entry(args->dnode, NULL, true);
- bs->peer_profile.minimum_ttl = BFD_DEF_MHOP_TTL;
- bfd_session_apply(bs);
-
- return NB_OK;
-}