From 0bf5b1cbe3812e748d459fa4c4fb6596e072e7bd Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 16 Dec 2016 22:30:36 +0100 Subject: lib: parser: simplify OPTION_TKN & SELECTOR_TKN These are functionally identical as "fork" tokens. Signed-off-by: David Lamparter --- lib/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index 6294e994e7..cb1f54fbbd 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1268,7 +1268,7 @@ permute (struct graph_node *start, struct vty *vty) for (ALL_LIST_ELEMENTS_RO (position,ln,gnn)) { struct cmd_token *tt = gnn->data; - if (tt->type < SELECTOR_TKN) + if (tt->type < SPECIAL_TKN) vty_out (vty, " %s", tt->text); } if (gn == start) -- cgit v1.2.3