forked from Mirror/frr
lib: rename bfd function to reflect real functionality
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
de48804c01
commit
3e51a84a22
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue