summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2024-08-02 07:27:04 -0400
committerGitHub <noreply@github.com>2024-08-02 07:27:04 -0400
commit975e1a36f69e61d45e05e14210bbfd94d8af33b6 (patch)
treed1191a0d3dd5958fd0601592d4f5fef73aca6559 /lib/command_graph.c
parente38dfe03fb393721dd9d29d4223752cf74350144 (diff)
parent4bc41193e810d3c93fc0ff0a5a7d7fe0f18c669b (diff)
Merge pull request #16501 from donaldsharp/preprocess_vtysh
Preprocess vtysh
Diffstat (limited to 'lib/command_graph.c')
-rw-r--r--lib/command_graph.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c
index ff3c11db69..20ab6b321b 100644
--- a/lib/command_graph.c
+++ b/lib/command_graph.c
@@ -267,6 +267,9 @@ static bool cmd_nodes_equal(struct graph_node *ga, struct graph_node *gb)
case NEG_ONLY_TKN:
case WORD_TKN:
case ASNUM_TKN:
+#ifdef BUILDING_CLIPPY
+ case CMD_ELEMENT_TKN:
+#endif
return true;
}