diff options
Diffstat (limited to 'src/org/traccar/RemoteAddressHandler.java')
-rw-r--r-- | src/org/traccar/RemoteAddressHandler.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/org/traccar/RemoteAddressHandler.java b/src/org/traccar/RemoteAddressHandler.java index d9522020d..a26a1aff2 100644 --- a/src/org/traccar/RemoteAddressHandler.java +++ b/src/org/traccar/RemoteAddressHandler.java @@ -17,7 +17,6 @@ package org.traccar; import java.net.InetSocketAddress; import java.net.SocketAddress; -import java.util.List; import org.jboss.netty.channel.Channel; import org.traccar.model.Event; import org.traccar.model.Position; @@ -34,11 +33,6 @@ public class RemoteAddressHandler extends ExtendedObjectDecoder { if (msg instanceof Position) { Position position = (Position) msg; position.set(Event.KEY_IP, hostAddress); - } else if (msg instanceof List) { - List<Position> positions = (List<Position>) msg; - for (Position position : positions) { - position.set(Event.KEY_IP, hostAddress); - } } return msg; |