diff options
author | Reinhard Arlt <reinhard.arlt@t-online.de> | 2013-11-04 00:59:55 +0100 |
---|---|---|
committer | Reinhard Arlt <reinhard.arlt@t-online.de> | 2013-11-04 00:59:55 +0100 |
commit | ab6a18a74fe68748b19d3457d751439eae8d862b (patch) | |
tree | ce9b0480cd78586eda5605df8ebba0a50e80a7b9 /driver_nmea2000.c | |
parent | 54afc3c3e6394a6e6c42b4211d9c5f7d2908e547 (diff) | |
download | gpsd-ab6a18a74fe68748b19d3457d751439eae8d862b.tar.gz |
Fix crash due to ais->type24.part.
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r-- | driver_nmea2000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_nmea2000.c b/driver_nmea2000.c index 9fb3327b..374c1270 100644 --- a/driver_nmea2000.c +++ b/driver_nmea2000.c @@ -890,6 +890,7 @@ static gps_mask_t hnd_129810(unsigned char *bu, int len, PGN *pgn, struct gps_de #endif /* of #if NMEA2000_DEBUG_AIS */ decode_ais_channel_info(bu, len, 264, session); + ais->type24.part = both; return(ONLINE_SET | AIS_SET); } } |