From bc0b97556e8b4230c85bada4c2f697884a25ddf3 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 23 May 2001 23:06:33 +0000 Subject: [PATCH] properly display version number of server --- src/ca/tcpiiu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ca/tcpiiu.cpp b/src/ca/tcpiiu.cpp index 87910ac3e..a9e8901ea 100644 --- a/src/ca/tcpiiu.cpp +++ b/src/ca/tcpiiu.cpp @@ -715,8 +715,9 @@ void tcpiiu::show ( unsigned level ) const epicsAutoMutex locker ( this->pCAC()->mutexRef() ); char buf[256]; this->pHostNameCache->hostName ( buf, sizeof ( buf ) ); - ::printf ( "Virtual circuit to \"%s\" at version %s state %u\n", - buf, CA_VERSION_STRING ( this->minorProtocolVersion ), this->state ); + ::printf ( "Virtual circuit to \"%s\" at version V%u.%u state %u\n", + buf, CA_MAJOR_PROTOCOL_REVISION, + this->minorProtocolVersion, this->state ); if ( level > 1u ) { this->netiiu::show ( level - 1u ); }