From 3e51a84a22fba27d0c6ca3be2ac19055f75e5f89 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Mon, 15 Nov 2021 18:11:49 +0300 Subject: [PATCH] lib: rename bfd function to reflect real functionality Signed-off-by: Igor Ryzhov --- lib/bfd.c | 2 +- lib/zclient.c | 2 +- lib/zclient.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bfd.c b/lib/bfd.c index 5b62d9ea24..dea39d2e2b 100644 --- a/lib/bfd.c +++ b/lib/bfd.c @@ -801,7 +801,7 @@ void bfd_sess_show(struct vty *vty, struct json_object *json, * * Use this as `zclient` `bfd_dest_replay` callback. */ -int zclient_bfd_session_reply(ZAPI_CALLBACK_ARGS) +int zclient_bfd_session_replay(ZAPI_CALLBACK_ARGS) { struct bfd_session_params *bsp; diff --git a/lib/zclient.c b/lib/zclient.c index 24546f3c45..a6103cfee9 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -3862,7 +3862,7 @@ static zclient_handler *const lib_handlers[] = { [ZEBRA_INTERFACE_DOWN] = zclient_interface_down, /* BFD */ - [ZEBRA_BFD_DEST_REPLAY] = zclient_bfd_session_reply, + [ZEBRA_BFD_DEST_REPLAY] = zclient_bfd_session_replay, [ZEBRA_INTERFACE_BFD_DEST_UPDATE] = zclient_bfd_session_update, }; diff --git a/lib/zclient.h b/lib/zclient.h index 82eaefda42..ca62b1afeb 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -368,7 +368,7 @@ struct zclient { }; /* lib handlers added in bfd.c */ -extern int zclient_bfd_session_reply(ZAPI_CALLBACK_ARGS); +extern int zclient_bfd_session_replay(ZAPI_CALLBACK_ARGS); extern int zclient_bfd_session_update(ZAPI_CALLBACK_ARGS); /* Zebra API message flag. */ -- 2.39.5