From: Quentin Young Date: Thu, 10 Nov 2016 23:21:06 +0000 (+0000) Subject: tools: Update permutations generator for hidden/deprecated X-Git-Tag: frr-3.0-branchpoint~129^2~41 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=14fe9c15254206a262a11f3eeccd2a59bdac0c07;p=mirror%2Ffrr.git tools: Update permutations generator for hidden/deprecated Signed-off-by: Quentin Young --- diff --git a/tools/permutations.c b/tools/permutations.c index a582101fdf..49f9416b21 100644 --- a/tools/permutations.c +++ b/tools/permutations.c @@ -44,7 +44,7 @@ int main (int argc, char *argv[]) cmd->string = strdup(argv[1]); struct graph *graph = graph_new(); - struct cmd_token *token = new_cmd_token (START_TKN, NULL, NULL); + struct cmd_token *token = new_cmd_token (START_TKN, cmd->attr, NULL, NULL); graph_new_node (graph, token, NULL); command_parse_format (graph, cmd);