Skip to content
Permalink
Browse files

zebra: fix compilation on OpenBSD

OpenBSD doesn't define RTM_LOCK anymore:
https://marc.info/?l=openbsd-tech&m=153018811429193&w=2

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
  • Loading branch information...
rzalamena authored and mwinter-osr committed Dec 21, 2018
1 parent c6cc794 commit ea082e63ffb6dd3ec9becd69a2703a688742a41d
Showing with 2 additions and 0 deletions.
  1. +2 −0 zebra/kernel_socket.c
@@ -194,7 +194,9 @@ const struct message rtm_type_str[] = {{RTM_ADD, "RTM_ADD"},
{RTM_LOSING, "RTM_LOSING"},
{RTM_REDIRECT, "RTM_REDIRECT"},
{RTM_MISS, "RTM_MISS"},
#ifdef RTM_LOCK
{RTM_LOCK, "RTM_LOCK"},
#endif /* RTM_LOCK */
#ifdef OLDADD
{RTM_OLDADD, "RTM_OLDADD"},
#endif /* RTM_OLDADD */

0 comments on commit ea082e6

Please sign in to comment.
You can’t perform that action at this time.