diff options
author | Anton Tananaev <anton@traccar.org> | 2024-03-30 19:41:51 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-03-30 19:41:51 -0700 |
commit | 2d366f0ab3d88c635bec0f1f498396cd47557f1d (patch) | |
tree | 63736bf5f7bc659d80c5f1eaf286ba0d71498e5d /src/main/java/org/traccar/BasePipelineFactory.java | |
parent | e7205fa3d1aa6d223cfabfabb32f027415956430 (diff) | |
download | trackermap-server-2d366f0ab3d88c635bec0f1f498396cd47557f1d.tar.gz trackermap-server-2d366f0ab3d88c635bec0f1f498396cd47557f1d.tar.bz2 trackermap-server-2d366f0ab3d88c635bec0f1f498396cd47557f1d.zip |
Fix remote address handler
Diffstat (limited to 'src/main/java/org/traccar/BasePipelineFactory.java')
-rw-r--r-- | src/main/java/org/traccar/BasePipelineFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/BasePipelineFactory.java b/src/main/java/org/traccar/BasePipelineFactory.java index 6d9431ad6..40360cca7 100644 --- a/src/main/java/org/traccar/BasePipelineFactory.java +++ b/src/main/java/org/traccar/BasePipelineFactory.java @@ -96,7 +96,6 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> { pipeline.addLast(injectMembers(new NetworkForwarderHandler(port))); } pipeline.addLast(new NetworkMessageHandler()); - pipeline.addLast(new RemoteAddressHandler(config)); pipeline.addLast(injectMembers(new StandardLoggingHandler(protocol))); if (!connector.isDatagram() && !config.getBoolean(Keys.SERVER_INSTANT_ACKNOWLEDGEMENT)) { @@ -116,6 +115,7 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> { pipeline.addLast(handler); }); + pipeline.addLast(injector.getInstance(RemoteAddressHandler.class)); pipeline.addLast(injector.getInstance(ProcessingHandler.class)); pipeline.addLast(injector.getInstance(MainEventHandler.class)); } |