aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iuup.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2007-04-24 21:26:40 +0000
committerJörg Mayer <jmayer@loplof.de>2007-04-24 21:26:40 +0000
commit70f0c88ea1c5812e02335a8f41cb6814df50782c (patch)
treeb6551aed70807a5837c8b2f4f515c22617a2780d /epan/dissectors/packet-iuup.c
parent55507800aa53ab9e8e7d698655171fe64cae5f55 (diff)
proto_tree_add_bits -> iuup_proto_tree_add_bits as discussed
on wireshark-dev to make it compile again svn path=/trunk/; revision=21558
Diffstat (limited to 'epan/dissectors/packet-iuup.c')
-rw-r--r--epan/dissectors/packet-iuup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-iuup.c b/epan/dissectors/packet-iuup.c
index e35ff434ea..d11e821b8d 100644
--- a/epan/dissectors/packet-iuup.c
+++ b/epan/dissectors/packet-iuup.c
@@ -412,7 +412,7 @@ update_crc6_by_bytes(guint16 crc6, unsigned char byte1, unsigned char byte2)
static proto_item*
-proto_tree_add_bits(proto_tree* tree, int hf, tvbuff_t* tvb, int offset, int bit_offset, guint bits, gchar** buf) {
+iuup_proto_tree_add_bits(proto_tree* tree, int hf, tvbuff_t* tvb, int offset, int bit_offset, guint bits, gchar** buf) {
static const guint8 masks[] = {0x00,0x80,0xc0,0xe0,0xf0,0xf8,0xfc,0xfe};
int len = (bits + bit_offset)/8 + ((bits + bit_offset)%8 ? 0 : 1);
guint8* shifted_buffer;
@@ -484,7 +484,7 @@ static void dissect_iuup_payload(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tr
if (! rfci->subflow[i].len)
continue;
- proto_tree_add_bits(flow_tree, hf_iuup_rfci_subflow[rfci->id][i], tvb,
+ iuup_proto_tree_add_bits(flow_tree, hf_iuup_rfci_subflow[rfci->id][i], tvb,
offset + (bit_offset/8),
bit_offset % 8,
rfci->subflow[i].len,