summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-11-19 15:43:10 +0300
committerGitHub <noreply@github.com>2021-11-19 15:43:10 +0300
commit0609190219214b1f18c677527c3de2404679e03f (patch)
treea6d57dfb246887c2045032dd9ea8e66fcecc13cc /lib/command.h
parent90a215ad3fdac363025b2f8a78b4ca683b675198 (diff)
parent0beb61abc21c082e18dc1f1d78e256ca57cff337 (diff)
Merge pull request #10074 from opensourcerouting/assorted-20211116
lib/vtysh/ospf6d: assorted small bits
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index e2086701ad..c888356d61 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -213,6 +213,9 @@ struct cmd_node {
/* set as soon as any command is in cmdgraph */
bool graph_built;
+
+ /* don't decrement vty->xpath_index on leaving this node */
+ bool no_xpath;
};
/* Return value of the commands. */