lib: rename bfd function to reflect real functionality

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
Igor Ryzhov 2021-11-15 18:11:49 +03:00
parent de48804c01
commit 3e51a84a22
3 changed files with 3 additions and 3 deletions

View file

@ -801,7 +801,7 @@ void bfd_sess_show(struct vty *vty, struct json_object *json,
* *
* Use this as `zclient` `bfd_dest_replay` callback. * 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; struct bfd_session_params *bsp;

View file

@ -3862,7 +3862,7 @@ static zclient_handler *const lib_handlers[] = {
[ZEBRA_INTERFACE_DOWN] = zclient_interface_down, [ZEBRA_INTERFACE_DOWN] = zclient_interface_down,
/* BFD */ /* 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, [ZEBRA_INTERFACE_BFD_DEST_UPDATE] = zclient_bfd_session_update,
}; };

View file

@ -368,7 +368,7 @@ struct zclient {
}; };
/* lib handlers added in bfd.c */ /* 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); extern int zclient_bfd_session_update(ZAPI_CALLBACK_ARGS);
/* Zebra API message flag. */ /* Zebra API message flag. */