diff options
Diffstat (limited to 'lib/collect.c')
-rw-r--r-- | lib/collect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/collect.c b/lib/collect.c index b7cf430..a8a46bd 100644 --- a/lib/collect.c +++ b/lib/collect.c @@ -160,6 +160,9 @@ void *nfl_collect_worker(void *targs) { nflog_unbind_group(nf->nfl_group_fd); nflog_close(nf->nfl_fd); + // write checksum + nf->header->cksum = nfl_header_cksum(nf->header); + // spawn commit thread nfl_commit(nf); pthread_exit(NULL); |