summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ais_json.c b/ais_json.c
index 70ea6b9a..d92fab5c 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -402,6 +402,10 @@ int json_ais_read(const char *buf,
status = json_read_object(buf, json_ais8_fid10, endptr);
imo = true;
}
+ if (strstr(buf, "\"fid\":40,") != NULL) {
+ status = json_read_object(buf, json_ais8_fid40, endptr);
+ imo = true;
+ }
}
if (!imo) {
status = json_read_object(buf, json_ais8, endptr);