diff options
Diffstat (limited to 'src/cssh.c')
-rw-r--r-- | src/cssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -558,7 +558,7 @@ static ssize_t output_buffer( FILE *f, const char *host, const unsigned int port const char *p; while( ( b < buffer + bufsize ) && ( p = buffer_contains_a_line( b, bsize ) ) != NULL) { if( tagging ) { - if( port != 22 ) { + if( port != get_default_ssh_port( ) ) { fprintf( f, "[%s:%d]: ", host, port ); } else { fprintf( f, "[%s]: ", host ); |