DLF import: Parse CNS value from event to.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-01-24 00:29:36 +01:00 committed by Dirk Hohndel
parent 87153cefaa
commit a4e06bb68e

View file

@ -2813,7 +2813,7 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
strcpy(cur_event.name, "HS Up");
break;
case 30:
strcpy(cur_event.name, "CNS");
snprintf(cur_event.name, MAX_EVENT_NAME, "CNS %d%%", ptr[6]);
break;
default:
// No values above 30 had any description