summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-10-31 13:23:57 -0400
committerGitHub <noreply@github.com>2023-10-31 13:23:57 -0400
commit644386fe4824a9d0fbf02fe7df2de7fcb1fc2173 (patch)
treeb07db5247b8fb99ea74a3b1e1d3b524054e0378b /lib/zebra.h
parentdbe2f6ca7c8697500f9832375d1831b91261eb64 (diff)
parentdeac143c6eef3c4e8cc1c6d2ef29d830d1ae5b86 (diff)
Merge pull request #14388 from pguibert6WIND/redistribute_table_bgp_2
Redistribute table bgp without copying data to the default routing table
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index ecc87f58f1..b742e71848 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -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>
@@ -370,6 +371,7 @@ typedef enum {
#define ZEBRA_IBGP_DISTANCE_DEFAULT 200
#define ZEBRA_EBGP_DISTANCE_DEFAULT 20
#define ZEBRA_TABLE_DISTANCE_DEFAULT 15
+#define ZEBRA_TABLEDIRECT_DISTANCE_DEFAULT 14
#define ZEBRA_EIGRP_DISTANCE_DEFAULT 90
#define ZEBRA_NHRP_DISTANCE_DEFAULT 10
#define ZEBRA_LDP_DISTANCE_DEFAULT 150