summaryrefslogtreecommitdiff
path: root/zebra/debug.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2022-12-13 17:02:29 -0500
committerMark Stapp <mjs@labn.net>2022-12-13 17:02:29 -0500
commit3edb3a644d2d70c457e02a076817f6fa4c371ee6 (patch)
treedffddf8a4b3d4df96c715b602190539db1540867 /zebra/debug.c
parenta2f9eb5ccab03677c54f517d4e74dd3c1d30d377 (diff)
zebra: fix flags used for debug dpdk
Use the correct flags for debug zebra dataplane dpdk options. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'zebra/debug.c')
-rw-r--r--zebra/debug.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index 953f0423af..977af0e198 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -341,7 +341,7 @@ DEFPY(debug_zebra_dplane_dpdk, debug_zebra_dplane_dpdk_cmd,
SET_FLAG(zebra_debug_dplane_dpdk, ZEBRA_DEBUG_DPLANE_DPDK);
if (detail)
- SET_FLAG(zebra_debug_dplane,
+ SET_FLAG(zebra_debug_dplane_dpdk,
ZEBRA_DEBUG_DPLANE_DPDK_DETAIL);
}
@@ -740,10 +740,12 @@ static int config_write_debug(struct vty *vty)
write++;
}
- if (CHECK_FLAG(zebra_debug_dplane, ZEBRA_DEBUG_DPLANE_DPDK_DETAIL)) {
+ if (CHECK_FLAG(zebra_debug_dplane_dpdk,
+ ZEBRA_DEBUG_DPLANE_DPDK_DETAIL)) {
vty_out(vty, "debug zebra dplane dpdk detailed\n");
write++;
- } else if (CHECK_FLAG(zebra_debug_dplane, ZEBRA_DEBUG_DPLANE_DPDK)) {
+ } else if (CHECK_FLAG(zebra_debug_dplane_dpdk,
+ ZEBRA_DEBUG_DPLANE_DPDK)) {
vty_out(vty, "debug zebra dplane dpdk\n");
write++;
}