diff --git a/tests/test-lib-route-table.c b/tests/test-lib-route-table.c index 61d97e06f..4d4fbe0d3 100644 --- a/tests/test-lib-route-table.c +++ b/tests/test-lib-route-table.c @@ -27,6 +27,12 @@ #include "packets.h" #include "route-table.h" +/* The following definition should be available in Linux 6.15 and might be + * missing if we have older headers. */ +#ifndef RTPROT_OVN +#define RTPROT_OVN 84 +#endif + static char * rt_prot_name(unsigned char p) { @@ -39,6 +45,7 @@ rt_prot_name(unsigned char p) p == RTPROT_STATIC ? "RTPROT_STATIC" : p == RTPROT_RA ? "RTPROT_RA" : p == RTPROT_DHCP ? "RTPROT_DHCP" : + p == RTPROT_OVN ? "RTPROT_OVN" : p == RTPROT_BGP ? "RTPROT_BGP" : "UNKNOWN"; }