diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-30 09:38:05 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-30 09:38:05 -0400 |
commit | a6559a248a72189c0119e2e768a3a8e4ed96c64f (patch) | |
tree | f7d357293f94b1ec1b01d4e858d87129759c714f /ais_json.c | |
parent | 477868c20c2026fe7d13c4401e56aa5f57ae0f4c (diff) | |
download | gpsd-a6559a248a72189c0119e2e768a3a8e4ed96c64f.tar.gz |
In AIS, support for IMO Route info (broadcast). All regression tests pass.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -236,6 +236,10 @@ int json_ais_read(const char *buf, status = json_read_object(buf, json_ais8_fid19, endptr); imo = true; } + else if (strstr(buf, "\"fid\":27,") != NULL) { + status = json_read_object(buf, json_ais8_fid27, endptr); + imo = true; + } else if (strstr(buf, "\"fid\":29,") != NULL) { status = json_read_object(buf, json_ais8_fid29, endptr); imo = true; |