summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-10-23 18:28:10 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:44 -0400
commit5948f013ba454431295d4016b17f01952e4663f2 (patch)
tree558a022d7d8e279c99c00f457ce3e97abbf21b70 /zebra/zebra_router.c
parent80286aa564601dda7430ea8c96b2f9fd9867ee0b (diff)
zebra: Cleanup zebra_nhg APIs
Add a private header file for functions that are internal/special case like how we do it for `lib/nexthop_group_private.h`. Remove a bunch of functions from the header file only being used statically and add some comments for those remaining to indicate better what their use is. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index f52249ad8b..e5319c64af 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -29,7 +29,7 @@
#include "zebra_pbr.h"
#include "zebra_vxlan.h"
#include "zebra_mlag.h"
-#include "zebra_nhg.h"
+#include "zebra_nhg_private.h"
#include "debug.h"
DEFINE_MTYPE_STATIC(ZEBRA, RIB_TABLE_INFO, "RIB table info")