summaryrefslogtreecommitdiff
path: root/bfdd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-11-04 08:15:54 +0000
committerDonald Sharp <sharpd@nvidia.com>2023-11-07 06:46:19 -0500
commit315aa6cde48bbe5af08f61778d70f72aa0f9648a (patch)
tree0cf61da735151e7fbd2d9760bb8dae77af747576 /bfdd
parentf57763eaed67e2f1cb9547cfc3876e29410df577 (diff)
*: Remove netlink headers from lib/zebra.h
The headers associated with netlink code really only belong in those that need it. Move these headers out of lib/zebra.h and into more appropriate places. bgp's usage of the RT_TABLE_XXX defines are probably not appropriate and will be cleaned up in future commits. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bfdd')
-rw-r--r--bfdd/bfd_packet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c
index 5d8bf47fcd..f2596dfc3c 100644
--- a/bfdd/bfd_packet.c
+++ b/bfdd/bfd_packet.c
@@ -13,6 +13,10 @@
#include <zebra.h>
+#ifdef GNU_LINUX
+#include <linux/filter.h>
+#endif
+
#ifdef BFD_LINUX
#include <linux/if_packet.h>
#endif /* BFD_LINUX */