]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: fix build on OpenBSD >= 5.9
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 4 Aug 2016 13:07:24 +0000 (10:07 -0300)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Mon, 8 Aug 2016 01:05:26 +0000 (21:05 -0400)
RTF_XRESOLVE was removed from the OpenBSD tree recently.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/kernel_socket.c

index b47ee787e8b3f130f8b236a365280ec30cbb139e..f9df983abfbb16f904e26a83c412e8cfe86294c8 100644 (file)
@@ -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 */