aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zebra.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-08 14:01:31 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-08 14:01:31 +0000
commit0e5980c7b238ae1920f46f417c682ca49b0c1c23 (patch)
tree5bf88cae1957661d21f614c1b4cde4e77e19c0d0 /epan/dissectors/packet-zebra.c
parent143795ed6bf6f5003dd52a7ead2e58f8c9a3e3d0 (diff)
Stop using deprecated functions identified by checkAPIs script.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25258 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-zebra.c')
-rw-r--r--epan/dissectors/packet-zebra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zebra.c b/epan/dissectors/packet-zebra.c
index 6b0e501e91..c3ca8858f3 100644
--- a/epan/dissectors/packet-zebra.c
+++ b/epan/dissectors/packet-zebra.c
@@ -452,8 +452,9 @@ dissect_zebra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_item(tree, proto_zebra, tvb, offset, -1,
FALSE);
zebra_tree = proto_item_add_subtree(ti, ett_zebra);
- proto_tree_add_boolean_hidden(zebra_tree, hf_zebra_request,
+ ti = proto_tree_add_boolean(zebra_tree, hf_zebra_request,
tvb, offset, 0, request);
+ PROTO_ITEM_SET_HIDDEN(ti);
for (;;) {
guint8 command;