summaryrefslogtreecommitdiffstats
path: root/lib/hash.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-21 14:34:31 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-21 14:41:02 +0200
commit40818cec851ee74be69a461db5bb14ace67f784b (patch)
tree65a063b14cc9c82df942918d31bc62d7b062959d /lib/hash.c
parentzebra: put pseudowire show cmd under mpls (diff)
downloadfrr-40818cec851ee74be69a461db5bb14ace67f784b.tar.xz
frr-40818cec851ee74be69a461db5bb14ace67f784b.zip
lib: move hashstats under debug, show per-daemon
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 66341cf2f..243521bef 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -335,12 +335,13 @@ void hash_free(struct hash *hash)
/* CLI commands ------------------------------------------------------------ */
-DEFUN(show_hash_stats,
- show_hash_stats_cmd,
- "show hashtable [statistics]",
- SHOW_STR
- "Statistics about hash tables\n"
- "Statistics about hash tables\n")
+DEFUN_NOSH(show_hash_stats,
+ show_hash_stats_cmd,
+ "show debugging hashtable [statistics]",
+ SHOW_STR
+ DEBUG_STR
+ "Statistics about hash tables\n"
+ "Statistics about hash tables\n")
{
struct hash *h;
struct listnode *ln;