Skip to content

Commit

Permalink
Add header offset for ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
blairsteven authored and carlatat committed May 11, 2022
1 parent 74d1ff9 commit 6c8cec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ginetflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ static gboolean flow_parse_ipv6(GInetTuple * f, const guint8 * data, guint32 len

data += sizeof(ip6_hdr_t);
length -= sizeof(ip6_hdr_t);
f->offset += sizeof(ip6_hdr_t);

next_header:
DEBUG("Next Header: %u\n", g_inet_tuple_get_protocol(f));
Expand Down

0 comments on commit 6c8cec9

Please sign in to comment.