summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-05-28 10:23:49 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-05-28 10:23:49 -0400
commit9b2ca87cfd037e15a9764b1d7fbb05ec49f9d132 (patch)
treeee91a409c3aff6de6b737827cc0ce7e5fae3ba25 /ais_json.c
parentfe0e01c42d8555515e9b1cfe11ebcdf35a42c459 (diff)
downloadgpsd-9b2ca87cfd037e15a9764b1d7fbb05ec49f9d132.tar.gz
In AIS, support for IMO236 Tidal Window message.
Mostly reuses code for the IMO289 variant.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ais_json.c b/ais_json.c
index aeb925e5..c20965f6 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -183,7 +183,7 @@ int json_ais_read(const char *buf,
status = json_read_object(buf, json_ais6_fid30, endptr);
imo = true;
}
- else if (strstr(buf, "\"fid\":32,") != NULL) {
+ else if (strstr(buf, "\"fid\":32,") != NULL || strstr(buf, "\"fid\":14,") != NULL) {
status = json_read_object(buf, json_ais6_fid32, endptr);
imo = true;
}