aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rsvp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-05-31 17:10:10 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-05-31 17:10:10 +0000
commit5d76d969297cf8fa54364a768c3593a3fd276292 (patch)
treecbdcc9e293cbbfd29a05c2392c58dc5335eeec89 /packet-rsvp.c
parentc9371c3cd203bdaf518b62203291d735f4f4cfb4 (diff)
Get rid of the only uses of proto_tree_add_item_old() and
proto_tree_add_item_hidden_old(), and get rid of the functions as well. Also remove a static function in proto.c that is no longer used (it was used by proto_tree_add_item()). svn path=/trunk/; revision=2033
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r--packet-rsvp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-rsvp.c b/packet-rsvp.c
index 718974e4ae..dbeb91046e 100644
--- a/packet-rsvp.c
+++ b/packet-rsvp.c
@@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-rsvp.c,v 1.22 2000/05/31 05:07:36 guy Exp $
+ * $Id: packet-rsvp.c,v 1.23 2000/05/31 17:10:08 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -875,7 +875,7 @@ dissect_rsvp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
hdr->message_type);
return;
}
- proto_tree_add_item_hidden_old(rsvp_header_tree, rsvp_filter[RSVPF_MSG + hdr->message_type], NullTVB,
+ proto_tree_add_uint_hidden(rsvp_header_tree, rsvp_filter[RSVPF_MSG + hdr->message_type], NullTVB,
offset+1, 1, 1);
proto_tree_add_text(rsvp_header_tree, NullTVB, offset + 2 , 2, "Message Checksum");
proto_tree_add_text(rsvp_header_tree, NullTVB, offset + 4 , 1, "Sending TTL: %u",
@@ -898,7 +898,7 @@ dissect_rsvp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
if (!object_type) object_type = "Unknown";
ti = proto_tree_add_uint_hidden(rsvp_tree, rsvp_filter[RSVPF_OBJECT], NullTVB,
offset, obj_length, obj->class);
- ti = proto_tree_add_item_old(rsvp_tree, rsvp_filter[rsvp_class_to_filter_num(obj->class)], NullTVB,
+ ti = proto_tree_add_uint(rsvp_tree, rsvp_filter[rsvp_class_to_filter_num(obj->class)], NullTVB,
offset, obj_length, obj->class);
offset2 = offset + sizeof(rsvp_object);