]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix RT_TABLE_LOCAL for bsd builds
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 14 Sep 2023 11:52:25 +0000 (13:52 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 20 Oct 2023 11:28:52 +0000 (13:28 +0200)
commita61f49ab3607a829f2ef838536f496da15f75518
treebbfb00502c6d1313802ec91958bd89b3fd1f1705
parentdaad19071cc40e4ef6913e674cc41fa35121c399
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>
lib/zebra.h