commit | 71e0ba780bd7ba1a6fdc71ff673e3ef5aee61e08 | [log] [tgz] |
---|---|---|
author | Nick Hilliard <nick@foobar.org> | Tue Dec 27 22:51:51 2016 +0000 |
committer | Paul Jakma <paul@quagga.net> | Mon Jan 23 17:20:50 2017 +0000 |
tree | f7d95da993316c23f1a8f751fc9cafff01eedcf9 | |
parent | a64c66b105929b0f0fc19743f34dc29c760df967 [diff] |
vtysh: make warnings about node installs a non-default compile-time option * lib/command.c: (install_element) Suppress duplicate command install warnings for vtysh
diff --git a/lib/command.c b/lib/command.c index 242c98b..bb94c28 100644 --- a/lib/command.c +++ b/lib/command.c
@@ -638,9 +638,11 @@ if (hash_lookup (cnode->cmd_hash, cmd) != NULL) { +#ifdef DEV_BUILD fprintf (stderr, "Multiple command installs to node %d of command:\n%s\n", ntype, cmd->string); +#endif return; }