aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BaseProtocol.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-05-17 15:53:04 +0500
committerAbyss777 <abyss@fox5.ru>2016-05-17 15:53:04 +0500
commit92c3085546df5f3160c18c536c6183d15ef4b781 (patch)
tree7c88286874a3459d540096aa3b737ebbdcd8a129 /src/org/traccar/BaseProtocol.java
parent4d8e8208c9fdfcad697df25119645eccc880dfea (diff)
downloadtrackermap-server-92c3085546df5f3160c18c536c6183d15ef4b781.tar.gz
trackermap-server-92c3085546df5f3160c18c536c6183d15ef4b781.tar.bz2
trackermap-server-92c3085546df5f3160c18c536c6183d15ef4b781.zip
Custom command support for web-interface
Diffstat (limited to 'src/org/traccar/BaseProtocol.java')
-rw-r--r--src/org/traccar/BaseProtocol.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/BaseProtocol.java b/src/org/traccar/BaseProtocol.java
index 446f57d65..d1791d673 100644
--- a/src/org/traccar/BaseProtocol.java
+++ b/src/org/traccar/BaseProtocol.java
@@ -42,6 +42,7 @@ public abstract class BaseProtocol implements Protocol {
public void setSupportedCommands(String... commands) {
supportedCommands.addAll(Arrays.asList(commands));
+ supportedCommands.add(Command.TYPE_CUSTOM);
}
@Override