diff options
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index 43b2c478a0..ff921ff402 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1615,8 +1615,11 @@ permute (struct graph_node *start, struct vty *vty) bool skip = false; if (stok->type == FORK_TKN && tok->type != FORK_TKN) for (ALL_LIST_ELEMENTS_RO (position, ln, gnn)) - if (gnn == gn && (skip = true)) + if (gnn == gn) + { + skip = true; break; + } if (!skip) permute (gn, vty); } |
