diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-06-04 07:03:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-06-04 07:03:57 +0000 |
commit | 392a7dfc04475dd440efa70ea4b786a96f282c19 (patch) | |
tree | 98dc21a0a82fcaed9cd383f9659adc50973f242a /packet-vj.c | |
parent | 1155a2fb437b43521367b7c75b9b5cb0a6a2de72 (diff) | |
download | wireshark-392a7dfc04475dd440efa70ea4b786a96f282c19.tar.gz wireshark-392a7dfc04475dd440efa70ea4b786a96f282c19.tar.bz2 wireshark-392a7dfc04475dd440efa70ea4b786a96f282c19.zip |
Get rid of the "data_src" member of the "frame_data" structure; put it
in the "packet_info" structure instead, as we don't need a pointer for
every single frame in the capture file, just for each frame for which we
currently have an open "epan_dissect_t".
svn path=/trunk/; revision=5614
Diffstat (limited to 'packet-vj.c')
-rw-r--r-- | packet-vj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-vj.c b/packet-vj.c index c7b525fded..98b6517a56 100644 --- a/packet-vj.c +++ b/packet-vj.c @@ -1,7 +1,7 @@ /* packet-vj.c * Routines for Van Jacobson header decompression. * - * $Id: packet-vj.c,v 1.11 2002/05/22 10:15:28 guy Exp $ + * $Id: packet-vj.c,v 1.12 2002/06/04 07:03:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -383,7 +383,7 @@ dissect_vjuc(tvbuff_t *tvb, packet_info *pinfo, proto_tree * tree) */ next_tvb = tvb_new_real_data(buffer, isize, pntohs(&buffer[IP_FIELD_TOT_LEN])); tvb_set_child_real_data_tvbuff(tvb, next_tvb); - add_new_data_source(pinfo->fd, next_tvb, "VJ Uncompressed"); + add_new_data_source(pinfo, next_tvb, "VJ Uncompressed"); /* * Call IP dissector. @@ -598,7 +598,7 @@ vjc_tvb_setup(tvbuff_t *src_tvb, tvb_memcpy(src_tvb, pbuf + hdr_len, offset, buf_len - hdr_len); *dst_tvb = tvb_new_real_data(pbuf, buf_len, ntohs(ip->tot_len)); tvb_set_child_real_data_tvbuff(src_tvb, *dst_tvb); - add_new_data_source(pinfo->fd, *dst_tvb, "VJ Decompressed"); + add_new_data_source(pinfo, *dst_tvb, "VJ Decompressed"); return VJ_OK; } |