aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 10:56:45 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-24 10:56:45 +1200
commit65a234c9b64461f9b946cdb256d46c53bd92b2d7 (patch)
tree9a92071cb7d8b9fe6d90b9bdd3e03297c55e327d /src/org/traccar/BasePipelineFactory.java
parent55744465b536fec0595ff2489d8e0fdf3008c0ff (diff)
downloadtrackermap-server-65a234c9b64461f9b946cdb256d46c53bd92b2d7.tar.gz
trackermap-server-65a234c9b64461f9b946cdb256d46c53bd92b2d7.tar.bz2
trackermap-server-65a234c9b64461f9b946cdb256d46c53bd92b2d7.zip
Save IP address in XML field
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index fcb6266ef..2414d7a63 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -120,6 +120,7 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
if (Context.getReverseGeocoder() != null) {
pipeline.addLast("geocoder", new ReverseGeocoderHandler(Context.getReverseGeocoder(), processInvalidPositions));
}
+ pipeline.addLast("remoteAddress", new RemoteAddressHandler());
pipeline.addLast("handler", new TrackerEventHandler());
return pipeline;
}