summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_multicast.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-11-04 09:15:54 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-11-07 12:46:19 +0100
commit315aa6cde48bbe5af08f61778d70f72aa0f9648a (patch)
tree0cf61da735151e7fbd2d9760bb8dae77af747576 /nhrpd/nhrp_multicast.c
parentMerge pull request #14729 from donaldsharp/v6_rr_semantics_zrouter (diff)
downloadfrr-315aa6cde48bbe5af08f61778d70f72aa0f9648a.tar.xz
frr-315aa6cde48bbe5af08f61778d70f72aa0f9648a.zip
*: 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 'nhrpd/nhrp_multicast.c')
-rw-r--r--nhrpd/nhrp_multicast.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nhrpd/nhrp_multicast.c b/nhrpd/nhrp_multicast.c
index fdc1a31f2..aead98284 100644
--- a/nhrpd/nhrp_multicast.c
+++ b/nhrpd/nhrp_multicast.c
@@ -7,6 +7,10 @@
#include "config.h"
#endif
+#ifdef GNU_LINUX
+#include <linux/rtnetlink.h>
+#endif
+
#include <fcntl.h>
#include <net/if.h>
#include <net/ethernet.h>