diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-11-19 20:30:31 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-11-19 20:30:31 +0000 |
commit | 22389d72956c4278ad0f586dd9c36cc0bfedd537 (patch) | |
tree | 831074c63e27bba987016afebd2725bce91b9dc1 /epan/follow.c | |
parent | 80db2d0ade8fcdec5133637b259b458e1b0af63a (diff) |
Set our IPv6 status when we set addresses.
svn path=/trunk/; revision=53440
Diffstat (limited to 'epan/follow.c')
-rw-r--r-- | epan/follow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/follow.c b/epan/follow.c index be4f0f576f..b334f15520 100644 --- a/epan/follow.c +++ b/epan/follow.c @@ -278,6 +278,11 @@ reassemble_tcp( guint32 tcp_stream, guint32 sequence, guint32 acknowledgement, port[0] = srcport; memcpy(ip_address[1], net_dst->data, net_dst->len); port[1] = dstport; + if (net_src->type == AT_IPv6 && net_dst->type == AT_IPv6) { + is_ipv6 = TRUE; + } else { + is_ipv6 = FALSE; + } } /* Check to see if we have seen this source IP and port before. |