diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-28 09:37:15 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-28 09:37:15 -0400 |
commit | fe0e01c42d8555515e9b1cfe11ebcdf35a42c459 (patch) | |
tree | bd018c6160a1c34f2b5d16bb27c465e511609b1f /ais_json.c | |
parent | b9f7b38c9408d912f39f5c611de6de25cd19bf01 (diff) | |
download | gpsd-fe0e01c42d8555515e9b1cfe11ebcdf35a42c459.tar.gz |
In AIS, IMO289 Tidal Window support. All regression tests pass.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -183,6 +183,10 @@ 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) { + status = json_read_object(buf, json_ais6_fid32, endptr); + imo = true; + } } if (!imo) { status = json_read_object(buf, json_ais6, endptr); |