[quagga-dev,16485] zebra: fix build on OpenBSD >= 5.9

Message ID 1483695003-52666-1-git-send-email-mwinter@opensourcerouting.org
State Under Review
Headers show

Commit Message

Martin Winter Jan. 6, 2017, 9:30 a.m.
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(+)

Comments

cisystem@netdef.org Jan. 6, 2017, 10:40 a.m. | #1
Continous Integration Result: FAILED

See below for issues.
This is an EXPERIMENTAL automated CI system.
For questions and feedback, feel free to email
Martin Winter <mwinter@opensourcerouting.org>.

Patches applied :
  Patchwork 2296: http://patchwork.quagga.net/patch/2296
       [quagga-dev,16485] zebra: fix build on OpenBSD >= 5.9
Tested on top of Git : 258f3da (as of 20161018.130352 UTC)
CI System Testrun URL: https://ci1.netdef.org/browse/QUAGGA-QPWORK-387/


Get source and apply patch from patchwork: Successful
----------------

Building Stage: Successful
----------------

Basic Tests: Failed
----------------
Static analyzer (clang): Successful
Ipv4 protocols on ubuntu 14.04: Successful


Regards,
  NetDEF/OpenSourceRouting Continous Integration (CI) System

---
OpenSourceRouting.org is a project of the Network Device Education Foundation,
For more information, see www.netdef.org and www.opensourcerouting.org
For questions in regards to this CI System, contact Martin Winter, mwinter@netdef.org

Patch hide | download patch | download mbox

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 */