diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 14041a63a..6a1d3034f 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -69,10 +69,9 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { } else { msg.append(" < "); } + + msg.append(((InetSocketAddress) event.getRemoteAddress()).getHostString()).append("]"); - msg.append(((InetSocketAddress) event.getRemoteAddress()).getAddress().getHostAddress()).append("]"); - - // Append hex message if (event.getMessage() instanceof ChannelBuffer) { msg.append(" HEX: "); msg.append(ChannelBuffers.hexDump((ChannelBuffer) event.getMessage())); |