]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: rename bfd function to reflect real functionality
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 15 Nov 2021 15:11:49 +0000 (18:11 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 15 Nov 2021 15:16:30 +0000 (18:16 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/bfd.c
lib/zclient.c
lib/zclient.h

index 5b62d9ea24317fbae78b8af9a8d860f03d40099c..dea39d2e2b59509f8e93a7e6b32fb1b1206fc644 100644 (file)
--- 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;
 
index 24546f3c4583ac1d8f9773611d58bf929575c712..a6103cfee9763a421ba132a51ee935e6815c3673 100644 (file)
@@ -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,
 };
 
index 82eaefda429a215f36a3516860a2048197311c28..ca62b1afeb8f03af99ab2479ea9c3496c36a4148 100644 (file)
@@ -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. */