summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-18 14:33:04 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-02-16 16:40:56 +0100
commita9338fa4490627df2263649de6dcec0774baad8e (patch)
tree2f01cdc409ffd16540d041a5e975b9cd649e8b59 /configure.ac
parentpim6d: IPv6-adjust northbound code (diff)
downloadfrr-a9338fa4490627df2263649de6dcec0774baad8e.tar.xz
frr-a9338fa4490627df2263649de6dcec0774baad8e.zip
pim6d: IPv6-adjust mroute code
This is just hitting the pim_mroute code with a hammer until it doesn't print warnings anymore. This is NOT quite tested or working yet, it just compiles. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bdddf4b84..32ee560df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1526,6 +1526,13 @@ AC_CHECK_HEADERS([linux/mroute.h], [], [],[
#include <linux/types.h>
])
+AC_CHECK_HEADERS([linux/mroute6.h], [], [],[
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #define _LINUX_IN_H /* For Linux <= 2.6.25 */
+ #include <linux/types.h>
+])
+
m4_define([FRR_INCLUDES],
FRR_INCLUDES
[#ifdef HAVE_LINUX_MROUTE_H