RTPROT_BGP was added in Linux v4.18. We should define it if it's
not available, otherwise build fails on older kernels.
Fixes: 91fc51106cfe ("route-table: Support parsing multipath routes.")
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
#define RTPROT_OVN 84
#endif
+/* Definition was added in Linux v4.18. */
+#ifndef RTPROT_BGP
+#define RTPROT_BGP 186
+#endif
+
static char *
rt_prot_name(unsigned char p)
{