aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/M2mProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/M2mProtocol.java')
-rw-r--r--src/org/traccar/protocol/M2mProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/M2mProtocol.java b/src/org/traccar/protocol/M2mProtocol.java
index 70dfc7b39..11bc73ea9 100644
--- a/src/org/traccar/protocol/M2mProtocol.java
+++ b/src/org/traccar/protocol/M2mProtocol.java
@@ -33,8 +33,8 @@ public class M2mProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("frameDecoder", new FixedLengthFrameDecoder(23));
- pipeline.addLast("objectDecoder", new M2mProtocolDecoder(M2mProtocol.this));
+ pipeline.addLast(new FixedLengthFrameDecoder(23));
+ pipeline.addLast(new M2mProtocolDecoder(M2mProtocol.this));
}
});
}