summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-16 22:30:36 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-01-23 21:52:43 +0100
commit0bf5b1cbe3812e748d459fa4c4fb6596e072e7bd (patch)
tree192e6f292edc83b74016c74547a3cd76101710b2 /lib/command.c
parent61617d382e018adf7b148bf4d18d6a0fb1fb8645 (diff)
lib: parser: simplify OPTION_TKN & SELECTOR_TKN
These are functionally identical as "fork" tokens. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
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)