lib, zebra: Move ZEBRA_ON_RIB_PROCESS_HOOK_CALL

The define of ZEBRA_ON_RIB_PROCESS_HOOK_CALL was in zebra.h
which exposes it to everyone, except zebra is the only daemon
to use this define.  This does not beling in zebra.h

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2023-02-10 08:39:33 -05:00
parent af01a87b3d
commit 8f4ea1fc5d
2 changed files with 3 additions and 3 deletions

View File

@ -402,9 +402,6 @@ typedef uint32_t route_tag_t;
#define ROUTE_TAG_MAX UINT32_MAX
#define ROUTE_TAG_PRI PRIu32
/* Name of hook calls */
#define ZEBRA_ON_RIB_PROCESS_HOOK_CALL "on_rib_process_dplane_results"
#ifdef __cplusplus
}
#endif

View File

@ -625,6 +625,9 @@ extern pid_t pid;
extern bool v6_rr_semantics;
/* Name of hook calls */
#define ZEBRA_ON_RIB_PROCESS_HOOK_CALL "on_rib_process_dplane_results"
#ifdef __cplusplus
}
#endif