summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-10 16:24:24 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-10-10 16:24:24 +0300
commit310ca4f33de15ab6aeb98401fe28d6a0991b835d (patch)
treede90b9287ba8d78a532b74a19eda21fd4f8b5924 /lib/command.h
parentd30fa812aeadd2b4b15f7b47b7216c064816a3cc (diff)
lib: Apply and generate route-map commands earlier before any other protocol
If e.g. BGP neighbor is using a route-map at the boot, that is not yet created, then the log is spammed with `The route-map 'X' does not exist`. Processing earlier, should do the trick. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index f369a35243..c60751789f 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -84,6 +84,7 @@ enum node_type {
CONFIG_NODE, /* Config node. Default mode of config file. */
PREFIX_NODE, /* ip prefix-list node. */
PREFIX_IPV6_NODE, /* ipv6 prefix-list node. */
+ RMAP_NODE, /* Route map node. */
LIB_DEBUG_NODE, /* frrlib debug node. */
DEBUG_NODE, /* Debug node. */
VRF_DEBUG_NODE, /* Vrf Debug node. */
@@ -136,7 +137,6 @@ enum node_type {
AS_LIST_NODE, /* AS list node. */
COMMUNITY_LIST_NODE, /* Community list node. */
COMMUNITY_ALIAS_NODE, /* Community alias node. */
- RMAP_NODE, /* Route map node. */
PBRMAP_NODE, /* PBR map node. */
SMUX_NODE, /* SNMP configuration node. */
DUMP_NODE, /* Packet dump node. */