summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-21 19:27:49 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-21 19:27:49 +0000
commit39e92c066f210b0b550489e98d3b767ee1553e52 (patch)
tree70928b277635d25cb717b8ceb103dd1d5e26f732 /lib/command.h
parent630a298ca76a0e37c263dc1d2c3053cbddc9ccb3 (diff)
parentce01a2ca3f4501b75e55fe325c150eb9c2ae329d (diff)
Merge branch 'cmaster-next' into vtysh-grammar
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com> Conflicts: bgpd/bgp_encap.c bgpd/bgp_route.c lib/command.c lib/command.h ospf6d/ospf6d.c vtysh/vtysh.c
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index 0e2d27f19c..4d60c5b4fe 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -28,6 +28,7 @@
#include "lib/route_types.h"
#include "graph.h"
#include "memory.h"
+#include "hash.h"
DECLARE_MTYPE(HOST)
@@ -152,6 +153,9 @@ struct cmd_node
/* Vector of this node's command list. */
vector cmd_vector;
+
+ /* Hashed index of command node list, for de-dupping primarily */
+ struct hash *cmd_hash;
};
/**