From 0d3e6bceeeec4ebf007e02374f799cd1fb21f20c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 30 Nov 1999 12:57:14 +0000 Subject: `show interfaces' and `show protocols' works. --- nest/config.Y | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nest/config.Y') diff --git a/nest/config.Y b/nest/config.Y index 7d3cbd7..7ea2789 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -191,12 +191,15 @@ password_list: CF_CLI_HELP(SHOW,,[[Show status information]]) CF_CLI(SHOW STATUS,,, [[Show router status]]) { - cli_msg(2000, "BIRD " BIRD_VERSION); + cli_msg(1000, "BIRD " BIRD_VERSION); /* FIXME: Should include uptime, shutdown flag et cetera */ } ; CF_CLI(SHOW PROTOCOLS, optsym, [], [[Show routing protocols]]) -{ proto_show($3); } ; +{ proto_show($3, 0); } ; + +CF_CLI(SHOW PROTOCOLS VERBOSE, optsym, [], [[Show routing protocol details]]) +{ proto_show($4, 1); } ; CF_CLI(SHOW INTERFACES,,, [[Show network interfaces]]) { if_show(); } ; -- cgit v1.2.3