From 43ea9461037772d7754c0bac4f2756f43f3ecab7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 9 Jun 2018 09:46:34 +1200 Subject: Update missed write calls --- src/org/traccar/protocol/IntellitracFrameDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol/IntellitracFrameDecoder.java') diff --git a/src/org/traccar/protocol/IntellitracFrameDecoder.java b/src/org/traccar/protocol/IntellitracFrameDecoder.java index 3b175252d..2cf91bf59 100644 --- a/src/org/traccar/protocol/IntellitracFrameDecoder.java +++ b/src/org/traccar/protocol/IntellitracFrameDecoder.java @@ -42,7 +42,7 @@ public class IntellitracFrameDecoder extends LineBasedFrameDecoder { if (buf.getUnsignedShort(buf.readerIndex()) == 0xFAF8) { ByteBuf syncMessage = buf.readBytes(8); if (ctx != null && ctx.channel() != null) { - ctx.channel().write(new NetworkMessage(syncMessage, ctx.channel().remoteAddress())); + ctx.channel().writeAndFlush(new NetworkMessage(syncMessage, ctx.channel().remoteAddress())); } } -- cgit v1.2.3