diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-07-05 19:41:51 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-07-05 19:41:51 +0000 |
| commit | b83c95ce27d1bb7af54767e3265a04b3ad7d058b (patch) | |
| tree | 4844d16fa6af7742c311c34bf24110f4ab25c7c1 /lib/command.c | |
| parent | b738b1ac66dd4c168246b878e6adee85ee61c9a1 (diff) | |
| parent | c6200b54679f7e65d4a1036cece3d6cb08ccb9c5 (diff) | |
Merge branch 'master' of https://github.com/dwalton76/frr into bgpd-ipv4-plus-label-misc3
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index f019473308..de8899687c 100644 --- a/lib/command.c +++ b/lib/command.c @@ -233,7 +233,7 @@ install_node (struct cmd_node *node, // add start node struct cmd_token *token = cmd_token_new (START_TKN, CMD_ATTR_NORMAL, NULL, NULL); graph_new_node (node->cmdgraph, token, (void (*)(void *)) &cmd_token_del); - node->cmd_hash = hash_create (cmd_hash_key, cmd_hash_cmp); + node->cmd_hash = hash_create (cmd_hash_key, cmd_hash_cmp, NULL); } /** @@ -2520,6 +2520,7 @@ cmd_init (int terminal) thread_cmd_init (); workqueue_cmd_init (); + hash_cmd_init (); } install_element (CONFIG_NODE, &hostname_cmd); |
