diff options
Diffstat (limited to 'src/org/traccar/protocol/Gps056ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Gps056ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps056ProtocolDecoder.java b/src/org/traccar/protocol/Gps056ProtocolDecoder.java index d8d63cce2..c2a8372b0 100644 --- a/src/org/traccar/protocol/Gps056ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps056ProtocolDecoder.java @@ -43,7 +43,7 @@ public class Gps056ProtocolDecoder extends BaseProtocolDecoder { response.writeBytes(content); } response.writeByte('#'); - channel.write(new NetworkMessage(response, channel.remoteAddress())); + channel.writeAndFlush(new NetworkMessage(response, channel.remoteAddress())); } } |