aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_bfd.c
diff options
context:
space:
mode:
authorOle Trøan <otroan@employees.org>2018-02-15 22:02:01 +0000
committerOle Trøan <otroan@employees.org>2018-02-15 22:02:01 +0000
commit909c26bda66313b86168dda31003f76410c1d746 (patch)
tree116c02d48fe51239ffdbb719abbdf34d37928e73 /src/vnet/adj/adj_bfd.c
parenta44b015aa012d3b07ed873925d47c6d5955b7dd2 (diff)
Revert "Adj: VFTs for adjacency sub-blocks"
This reverts commit a44b015aa012d3b07ed873925d47c6d5955b7dd2. Change-Id: I2d76bc0844f58e5ddf3f3a4326b86076f46e3751 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/adj/adj_bfd.c')
-rw-r--r--src/vnet/adj/adj_bfd.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/vnet/adj/adj_bfd.c b/src/vnet/adj/adj_bfd.c
index 2d845ffcfd8..3d294c4646e 100644
--- a/src/vnet/adj/adj_bfd.c
+++ b/src/vnet/adj/adj_bfd.c
@@ -168,23 +168,6 @@ adj_bfd_notify (bfd_listen_event_e event,
adj_unlock(ai);
}
-/**
- * Print a delegate that represents BFD tracking
- */
-static u8 *
-adj_delegate_fmt_bfd (const adj_delegate_t *aed, u8 *s)
-{
- s = format(s, "BFD:[state:%d index:%d]",
- aed->ad_bfd_state,
- aed->ad_bfd_index);
-
- return (s);
-}
-
-const static adj_delegate_vft_t adj_delegate_vft = {
- .adv_format = adj_delegate_fmt_bfd,
-};
-
static clib_error_t *
adj_bfd_main_init (vlib_main_t * vm)
{
@@ -195,8 +178,6 @@ adj_bfd_main_init (vlib_main_t * vm)
bfd_register_listener(adj_bfd_notify);
- adj_delegate_register_type (ADJ_DELEGATE_BFD, &adj_delegate_vft);
-
return (error);
}