diff options
Diffstat (limited to 'packet-tcp.c')
-rw-r--r-- | packet-tcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-tcp.c b/packet-tcp.c index 69d276c847..bdd2e77b4a 100644 --- a/packet-tcp.c +++ b/packet-tcp.c @@ -1,7 +1,7 @@ /* packet-tcp.c * Routines for TCP packet disassembly * - * $Id: packet-tcp.c,v 1.183 2003/03/03 03:16:36 sharpe Exp $ + * $Id: packet-tcp.c,v 1.184 2003/03/03 23:20:57 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1846,7 +1846,8 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tcph_count=0; } tcph=&tcphstruct[tcph_count]; - + /* XXX add to ipv6 so this works for that protocol as well */ + tcph->ip_header=pinfo->private_data; if (check_col(pinfo->cinfo, COL_PROTOCOL)) col_set_str(pinfo->cinfo, COL_PROTOCOL, "TCP"); |