diff options
author | Martin Mares <mj@ucw.cz> | 1999-11-30 12:57:14 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-11-30 12:57:14 +0000 |
commit | 0d3e6bceeeec4ebf007e02374f799cd1fb21f20c (patch) | |
tree | 59bc75bd528f41cb458260d54f777f18300b9c85 /nest/config.Y | |
parent | 10b5baaef32076369b06b4318cc61e6fa11e5493 (diff) |
`show interfaces' and `show protocols' works.
Diffstat (limited to 'nest/config.Y')
-rw-r--r-- | nest/config.Y | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y index 7d3cbd72..7ea27892 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(); } ; |