Mailing List Archive

[PATCH] zebra: fix build on OpenBSD >= 5.9
From: Renato Westphal <renato@opensourcerouting.org>

RTF_XRESOLVE was removed from the OpenBSD tree recently.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
---
zebra/kernel_socket.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index 5e68c56..64c6cbb 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -242,7 +242,9 @@ static const struct message rtm_flag_str[] =
#ifdef RTF_CLONING
{RTF_CLONING, "CLONING"},
#endif /* RTF_CLONING */
+#ifdef RTF_XRESOLVE
{RTF_XRESOLVE, "XRESOLVE"},
+#endif /* RTF_XRESOLVE */
#ifdef RTF_LLINFO
{RTF_LLINFO, "LLINFO"},
#endif /* RTF_LLINFO */
--
1.9.3 (Apple Git-50)


_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev