diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-30 23:03:05 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-30 23:03:05 +0000 |
| commit | a98d33ab20e583e4e30acdff59ed6523bc5e139e (patch) | |
| tree | 664351269c70c6da5b4670ad58df0f6d1fc3fc63 /lib/command.c | |
| parent | 76b6abb95a1b4df23952d6cc20f9c4fc958323a4 (diff) | |
lib, vtysh: refactor vtysh.c, allow parser continuance
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 877edde9aa..a74e967c94 100644 --- a/lib/command.c +++ b/lib/command.c @@ -311,6 +311,7 @@ install_element (enum node_type ntype, struct cmd_element *cmd) exit (EXIT_FAILURE); } + fprintf (stdout, "installing %s in node %d\n", cmd->string, ntype); // add node to command graph and command vector command_parse_format (cnode->cmdgraph, cmd); vector_set (cnode->cmd_vector, cmd); @@ -2129,6 +2130,7 @@ host_config_set (const char *filename) void install_default (enum node_type node) { + fprintf (stdout, "installing default\n"); install_element (node, &config_exit_cmd); install_element (node, &config_quit_cmd); install_element (node, &config_end_cmd); |
