diff options
Diffstat (limited to 'lib/command.h')
| -rw-r--r-- | lib/command.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h index ad9ccf505e..e4aa10196f 100644 --- a/lib/command.h +++ b/lib/command.h @@ -27,6 +27,7 @@ #include "vty.h" #include "lib/route_types.h" #include "memory.h" +#include "hash.h" DECLARE_MTYPE(HOST) @@ -147,7 +148,10 @@ struct cmd_node int (*func) (struct vty *); /* Vector of this node's command list. */ - vector cmd_vector; + vector cmd_vector; + + /* Hashed index of command node list, for de-dupping primarily */ + struct hash *cmd_hash; }; enum |
