properly display version number of server

This commit is contained in:
Jeff Hill
2001-05-23 23:06:33 +00:00
parent fb7a2d6490
commit bc0b97556e

View File

@@ -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 );
}