summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-09-06 23:43:26 +0100
committerChris Hall <chris.hall@highwayman.com>2011-09-06 23:43:26 +0100
commit44b5aa5ca8b8a1620478c794dae11a7d71e9211e (patch)
tree00e10e01b36e4452173ffd15c7b1a5ec42dfbc0c /lib/command.c
parent1c1a79f1119c8bc898fb96ec385381f61841d7a1 (diff)
downloadquagga-44b5aa5ca8b8a1620478c794dae11a7d71e9211e.tar.bz2
quagga-44b5aa5ca8b8a1620478c794dae11a7d71e9211e.tar.xz
Further improvements to "pipework".ex19p
Version advanced to 0.99.18ex19p. Fixed occasional failure to immediately display prompt after previous command output was abandonned by ^C, particularly with "--more--". Completely removed the "~" temporary prompt, and simplified some logic. Added indication of pthread running to "show version".
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/command.c b/lib/command.c
index ee855360..359ab0f1 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -994,9 +994,10 @@ DEFUN_CALL (show_version,
{
VTY_LOCK() ;
- uty_out (vty->vio, "Quagga %s (%s).\n", QUAGGA_VERSION,
- (host.name != NULL) ? host.name : "") ;
- uty_out (vty->vio, "%s\n", QUAGGA_COPYRIGHT);
+ uty_out (vty->vio, QUAGGA_PROGNAME " %s (%s%s).\n", QUAGGA_VERSION,
+ (host.name != NULL) ? host.name : "",
+ vty_multi_nexus ? " pthreaded" : "") ;
+ uty_out (vty->vio, "%s\n", QUAGGA_COPYRIGHT) ;
VTY_UNLOCK() ;