aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vj.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-06-04 07:03:57 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-06-04 07:03:57 +0000
commit27840b016e2ce29a5983c606c42b5b6ba591f39b (patch)
tree98dc21a0a82fcaed9cd383f9659adc50973f242a /packet-vj.c
parente727bad6bda55a2a0ad01378437f5d2f0230ab05 (diff)
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". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5614 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-vj.c')
-rw-r--r--packet-vj.c6
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;
}