mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Format client identification.
This commit is contained in:
@@ -139,7 +139,7 @@ public final class TransportImpl
|
||||
this.encoder = new Encoder(config.getRandomFactory().create(), writeLock);
|
||||
this.decoder = new Decoder(this);
|
||||
this.kexer = new KeyExchanger(this);
|
||||
clientID = "SSH-2.0-" + config.getVersion();
|
||||
this.clientID = String.format("SSH-2.0-%s", config.getVersion());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user