summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-15 11:59:26 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-15 11:59:26 -0400
commit0e55585a6417ccb4a25c27203955fa6a4db1d553 (patch)
tree9b1a72e0d6776491cae9e5b4ccc7ad3863258772 /ais_json.c
parentc7cddac1fe760e5698cdfa3aaf359948cf32d16a (diff)
downloadgpsd-0e55585a6417ccb4a25c27203955fa6a4db1d553.tar.gz
Support AISmessage type 27.
Also, revise the website uploader so it knows about scons.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ais_json.c b/ais_json.c
index a9312d34..29e1628c 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -141,6 +141,8 @@ int json_ais_read(const char *buf,
status = json_read_object(buf, json_ais25, endptr);
} else if (strstr(buf, "\"type\":26,") != NULL) {
status = json_read_object(buf, json_ais26, endptr);
+ } else if (strstr(buf, "\"type\":27,") != NULL) {
+ status = json_read_object(buf, json_ais27, endptr);
} else {
if (endptr != NULL)
*endptr = NULL;