Format client identification.

This commit is contained in:
David Kocher
2014-06-03 11:54:38 +02:00
parent f2ebbe288f
commit bdc541c959

View File

@@ -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