aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-18 18:50:05 -0700
committerGitHub <noreply@github.com>2019-07-18 18:50:05 -0700
commit20273b677b67f6a92c27eeb14acef3fedfd4d064 (patch)
tree4f1bb13fec7fa00e419415829ac7096f442ae991 /src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
parent509d26db7efafe965f5cc6e1a1fba6b30e9556cf (diff)
parent9cdd5f45605ee6b0322301885641587e260174c5 (diff)
downloadtraccar-server-20273b677b67f6a92c27eeb14acef3fedfd4d064.tar.gz
traccar-server-20273b677b67f6a92c27eeb14acef3fedfd4d064.tar.bz2
traccar-server-20273b677b67f6a92c27eeb14acef3fedfd4d064.zip
Merge pull request #4355 from edvalley/proposed
Make device password a group configurable attribute
Diffstat (limited to 'src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
index 4db404ecf..354e81434 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
@@ -43,7 +43,7 @@ public class MeitrackProtocolEncoder extends StringProtocolEncoder {
Map<String, Object> attributes = command.getAttributes();
boolean alternative = Context.getIdentityManager().lookupAttributeBoolean(
- command.getDeviceId(), "meitrack.alternative", false, false, true);
+ command.getDeviceId(), getProtocolName() + ".alternative", false, false, true);
switch (command.getType()) {
case Command.TYPE_POSITION_SINGLE: