]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: make RTF_LLINFO optional to fix FreeBSD
authorLou Berger <lberger@labn.net>
Tue, 12 Jan 2016 18:41:44 +0000 (13:41 -0500)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:33 +0000 (15:33 +0000)
Signed-off-by: Lou Berger <lberger@labn.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit b05c6ca57130f079f8a8a6686d9d4ffa5ff440f0)

zebra/kernel_socket.c

index 495a4bb0702ec432c6b5fe9bb9b1d47ac53bab80..031ef170a3dd0dd5505fca21bf1496df3239e698 100644 (file)
@@ -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