aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-03-03 23:20:59 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-03-03 23:20:59 +0000
commitf52456f36cb0aba1daf709ef0462adc65039fa41 (patch)
tree1e631edb8e318b6c9fc493d23496af7a267b46d9 /packet-tcp.c
parent03d3a7056791a6e9e9798c9df3365406ff4ceb99 (diff)
Update for tethereal -z io,users, top talkers :
"tcpip" added. -z io,users,tcpip will create a top talkers list of individual tcpip connections git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7264 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tcp.c')
-rw-r--r--packet-tcp.c5
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");