diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-29 11:18:07 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-29 11:18:07 -0400 |
commit | 2e070b48734a9e3795bd8f6eaa0afc99959eefd8 (patch) | |
tree | 7701f84cefb7f98b16ef359b4a0cd2c90fda2e08 /ais_json.c | |
parent | dfd374545d5822d46380bf07463e0dd8040a9e42 (diff) | |
download | gpsd-2e070b48734a9e3795bd8f6eaa0afc99959eefd8.tar.gz |
In AIS, support for Route Info (addressed). All regression tests pass.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -179,6 +179,10 @@ int json_ais_read(const char *buf, status = json_read_object(buf, json_ais6_fid25, endptr); imo = true; } + else if (strstr(buf, "\"fid\":28,") != NULL) { + status = json_read_object(buf, json_ais6_fid28, endptr); + imo = true; + } else if (strstr(buf, "\"fid\":30,") != NULL) { status = json_read_object(buf, json_ais6_fid30, endptr); imo = true; |