Skip to content

Commit

Permalink
timenow: fixed wrong time element handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Velan committed Nov 22, 2016
1 parent c6654fa commit 583ab65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/src/intermediate/timenow/timenow.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void timenow_update_timestamps(struct ipfix_record *record, uint64_t time_diff)
}

/* Get flow end time (element ID 153) */
te = (uint64_t *) data_record_get_field(record->record, record->templ, 0, 152, NULL);
te = (uint64_t *) data_record_get_field(record->record, record->templ, 0, 153, NULL);
if (!te) {
return;
}
Expand Down

0 comments on commit 583ab65

Please sign in to comment.