aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GalileoProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/GalileoProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GalileoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GalileoProtocolDecoder.java b/src/org/traccar/protocol/GalileoProtocolDecoder.java
index 9beb93e4c..dae92fa8a 100644
--- a/src/org/traccar/protocol/GalileoProtocolDecoder.java
+++ b/src/org/traccar/protocol/GalileoProtocolDecoder.java
@@ -97,7 +97,7 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder {
reply.writeByte(0x02);
reply.writeShortLE((short) checksum);
if (channel != null) {
- channel.write(new NetworkMessage(reply, channel.remoteAddress()));
+ channel.writeAndFlush(new NetworkMessage(reply, channel.remoteAddress()));
}
}