summaryrefslogtreecommitdiffstats
path: root/nest/config.Y
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-30 13:57:14 +0100
committerMartin Mares <mj@ucw.cz>1999-11-30 13:57:14 +0100
commit0d3e6bceeeec4ebf007e02374f799cd1fb21f20c (patch)
tree59bc75bd528f41cb458260d54f777f18300b9c85 /nest/config.Y
parent10b5baaef32076369b06b4318cc61e6fa11e5493 (diff)
downloadbird-0d3e6bceeeec4ebf007e02374f799cd1fb21f20c.tar
bird-0d3e6bceeeec4ebf007e02374f799cd1fb21f20c.zip
`show interfaces' and `show protocols' works.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y7
1 files changed, 5 insertions, 2 deletions
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, [<name>], [[Show routing protocols]])
-{ proto_show($3); } ;
+{ proto_show($3, 0); } ;
+
+CF_CLI(SHOW PROTOCOLS VERBOSE, optsym, [<name>], [[Show routing protocol details]])
+{ proto_show($4, 1); } ;
CF_CLI(SHOW INTERFACES,,, [[Show network interfaces]])
{ if_show(); } ;