summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 13:18:25 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 13:18:25 +0000
commit6d53a10e4cf873ff61a3dada644d15be83dd54c0 (patch)
treec5c59a7b402956be4e78a5028a93554a3141d8d1 /lib/command_graph.c
parent3a7f5493619d20e7087536edbe694f9f2761ace5 (diff)
lib: Add partial matching support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.c')
-rw-r--r--lib/command_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c
index 7c09a5cd6c..3e52f42598 100644
--- a/lib/command_graph.c
+++ b/lib/command_graph.c
@@ -92,7 +92,7 @@ struct graph_node *
copy_node (struct graph_node *node)
{
struct graph_node *new = new_node(node->type);
- new->children = vector_copy (node->children);
+ new->children = NULL;
new->is_start = node->is_start;
new->end = node->end;
new->text = node->text ? XSTRDUP(MTYPE_CMD_TOKENS, node->text) : NULL;