From 8f4ea1fc5d3f0d4c7a5209696e1dd3d5364b961e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 10 Feb 2023 08:39:33 -0500 Subject: [PATCH] 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 --- lib/zebra.h | 3 --- zebra/rib.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/zebra.h b/lib/zebra.h index 7347cddf9c..c39406692b 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -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 diff --git a/zebra/rib.h b/zebra/rib.h index 166500fa5c..8a3b3e657f 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -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