summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-01-12 13:41:44 -0500
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 15:33:33 +0000
commitc54632ec18a01e48b9a8d688231088faa534c29c (patch)
tree6baf8421465c49bd3526668d73de66b3914437e0 /zebra/kernel_socket.c
parent54f03be9705acdb6c24449787bd77ad7c9a01234 (diff)
zebra: make RTF_LLINFO optional to fix FreeBSD
Signed-off-by: Lou Berger <lberger@labn.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit b05c6ca57130f079f8a8a6686d9d4ffa5ff440f0)
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 495a4bb070..031ef170a3 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -241,7 +241,9 @@ static const struct message rtm_flag_str[] =
{RTF_CLONING, "CLONING"},
#endif /* RTF_CLONING */
{RTF_XRESOLVE, "XRESOLVE"},
+#ifdef RTF_LLINFO
{RTF_LLINFO, "LLINFO"},
+#endif /* RTF_LLINFO */
{RTF_STATIC, "STATIC"},
{RTF_BLACKHOLE, "BLACKHOLE"},
#ifdef RTF_PRIVATE