aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-17 00:51:21 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-17 00:51:21 +0000
commitd92a1cd8e1f58a1ec46793f9052aa893a279e523 (patch)
tree6c3672ed6745221c5a874b342129457a1135f49d /packet-ip.c
parentac5a603cb77582b38948307a505e480352b7b75d (diff)
With the tvbuffication of all dissectors, the "packet_info" structure no
longer contains length fields, so there's no need to pass a "packet_info *" argument to "set_actual_length()". svn path=/trunk/; revision=4748
Diffstat (limited to 'packet-ip.c')
-rw-r--r--packet-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ip.c b/packet-ip.c
index 0b6ac62dca..3901a92984 100644
--- a/packet-ip.c
+++ b/packet-ip.c
@@ -1,7 +1,7 @@
/* packet-ip.c
* Routines for IP and miscellaneous IP protocol packet disassembly
*
- * $Id: packet-ip.c,v 1.160 2002/02/01 12:04:54 guy Exp $
+ * $Id: packet-ip.c,v 1.161 2002/02/17 00:51:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -846,7 +846,7 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
len = iph.ip_len;
/* Adjust the length of this tvbuff to include only the IP datagram. */
- set_actual_length(tvb, pinfo, len);
+ set_actual_length(tvb, len);
hlen = lo_nibble(iph.ip_v_hl) * 4; /* IP header length, in bytes */