aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/RemoteAddressHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/RemoteAddressHandler.java')
-rw-r--r--src/org/traccar/RemoteAddressHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/RemoteAddressHandler.java b/src/org/traccar/RemoteAddressHandler.java
index a26a1aff2..45b441bb0 100644
--- a/src/org/traccar/RemoteAddressHandler.java
+++ b/src/org/traccar/RemoteAddressHandler.java
@@ -29,7 +29,7 @@ public class RemoteAddressHandler extends ExtendedObjectDecoder {
throws Exception {
String hostAddress = ((InetSocketAddress) remoteAddress).getAddress().getHostAddress();
-
+
if (msg instanceof Position) {
Position position = (Position) msg;
position.set(Event.KEY_IP, hostAddress);