From beea2f874f45032459ba18241c41f5425054b6a4 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 20 Nov 2023 14:50:57 +0200 Subject: [PATCH] lib: Print debug config in files at the end Without this if we enter something like `debug bgp updates in x.x.x.x prefix-list y`, prefix-list can't be lookup up, because when we read the config, debug does not know anything about this prefix-list. Signed-off-by: Donatas Abraitis --- lib/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/command.h b/lib/command.h index 0da838feb19b..5b94f9ffcc57 100644 --- a/lib/command.h +++ b/lib/command.h @@ -82,7 +82,6 @@ enum node_type { AUTH_ENABLE_NODE, /* Authentication mode for change enable. */ ENABLE_NODE, /* Enable node. */ CONFIG_NODE, /* Config node. Default mode of config file. */ - DEBUG_NODE, /* Debug node. */ VRF_DEBUG_NODE, /* Vrf Debug node. */ NORTHBOUND_DEBUG_NODE, /* Northbound Debug node. */ DEBUG_VNC_NODE, /* Debug VNC node. */ @@ -176,6 +175,7 @@ enum node_type { BMP_NODE, /* BMP config under router bgp */ ISIS_SRV6_NODE, /* ISIS SRv6 node */ ISIS_SRV6_NODE_MSD_NODE, /* ISIS SRv6 Node MSDs node */ + DEBUG_NODE, /* Debug node */ NODE_TYPE_MAX, /* maximum */ }; /* clang-format on */