summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
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;
};
/**