Skip to content

Commit 583ab65

Browse files
author
Petr Velan
committed
timenow: fixed wrong time element handling
1 parent c6654fa commit 583ab65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/src/intermediate/timenow/timenow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void timenow_update_timestamps(struct ipfix_record *record, uint64_t time_diff)
157157
}
158158

159159
/* Get flow end time (element ID 153) */
160-
te = (uint64_t *) data_record_get_field(record->record, record->templ, 0, 152, NULL);
160+
te = (uint64_t *) data_record_get_field(record->record, record->templ, 0, 153, NULL);
161161
if (!te) {
162162
return;
163163
}

0 commit comments

Comments
 (0)