diff --git a/src/main/java/com/hivemq/codec/decoder/MqttConnectDecoder.java b/src/main/java/com/hivemq/codec/decoder/MqttConnectDecoder.java index dc1871a2e..9cca2c144 100644 --- a/src/main/java/com/hivemq/codec/decoder/MqttConnectDecoder.java +++ b/src/main/java/com/hivemq/codec/decoder/MqttConnectDecoder.java @@ -76,7 +76,7 @@ public MqttConnectDecoder( // interested in the Length LSB byte if (buf.readableBytes() < 2) { mqttConnacker.connackError(clientConnectionContext.getChannel(), - "A client (ID: {}, IP: {}) connected with a packet without protocol version.", + "A client (P: {}) connected with a packet without protocol version.", "Sent CONNECT without protocol version", Mqtt5ConnAckReasonCode.UNSUPPORTED_PROTOCOL_VERSION, ReasonStrings.CONNACK_UNSUPPORTED_PROTOCOL_VERSION);