mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +00:00
lib: fix RT_TABLE_LOCAL for bsd builds
The routing table numbers are specific to linux builds, and the RT_TABLE_xxx are usually defined in linux headers. The bsd builds do not benefit from this definition: some RT_TABLE_xxx defines are missing for those builds. Fix this by appending RT_TABLE_LOCAL define for bsd headers. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
daad19071c
commit
a61f49ab36
@ -121,6 +121,7 @@
|
||||
#include <linux/filter.h>
|
||||
#else
|
||||
#define RT_TABLE_MAIN 0
|
||||
#define RT_TABLE_LOCAL RT_TABLE_MAIN
|
||||
#endif /* HAVE_NETLINK */
|
||||
|
||||
#include <netdb.h>
|
||||
|
Loading…
Reference in New Issue
Block a user