summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-08-04 10:07:24 -0300
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-08-07 21:05:26 -0400
commit23b1f400488df822664e62c41fa24dde9c17913d (patch)
treee6dbc382c3834a509e50ad92ab54fed0ca7bb45b /zebra/kernel_socket.c
parentcbca9a189c98cc9eb94844298012cf0f25f669b4 (diff)
zebra: fix build on OpenBSD >= 5.9
RTF_XRESOLVE was removed from the OpenBSD tree recently. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r--zebra/kernel_socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index b47ee787e8..f9df983abf 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -240,7 +240,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 */