aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/BasePipelineFactory.java2
-rw-r--r--src/org/traccar/model/CellTower.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index a0b42feeb..74b59a486 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -134,7 +134,7 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
if (Context.getGeolocationProvider() != null) {
geolocationHandler = new GeolocationHandler(
Context.getGeolocationProvider(),
- Context.getConfig().getBoolean("location.processInvalidPositions"));
+ Context.getConfig().getBoolean("geolocation.processInvalidPositions"));
}
distanceHandler = new DistanceHandler();
diff --git a/src/org/traccar/model/CellTower.java b/src/org/traccar/model/CellTower.java
index 74ed8a4ea..53866b59a 100644
--- a/src/org/traccar/model/CellTower.java
+++ b/src/org/traccar/model/CellTower.java
@@ -38,8 +38,8 @@ public class CellTower {
public static CellTower fromLacCid(int lac, long cid) {
return from(
- Context.getConfig().getInteger("location.mcc"),
- Context.getConfig().getInteger("location.mnc"), lac, cid);
+ Context.getConfig().getInteger("geolocation.mcc"),
+ Context.getConfig().getInteger("geolocation.mnc"), lac, cid);
}
public static CellTower fromCidLac(long cid, int lac) {