aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bmc.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-16 22:44:29 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-16 22:44:29 +0000
commitbc8d5a1e61c0bb7cf1abbcfa8676ea81a66e0106 (patch)
treec08caf1227d637ec217c3932b7306413cb365e4b /epan/dissectors/packet-bmc.c
parent004220fb63d9c49f5ba389a7d80d0bbde14ba11f (diff)
Fix previous commit + rename to bitswap.
svn path=/trunk/; revision=53375
Diffstat (limited to 'epan/dissectors/packet-bmc.c')
-rw-r--r--epan/dissectors/packet-bmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bmc.c b/epan/dissectors/packet-bmc.c
index 38217a64db..a2d1b17cd8 100644
--- a/epan/dissectors/packet-bmc.c
+++ b/epan/dissectors/packet-bmc.c
@@ -90,7 +90,7 @@ dissect_bmc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
guint8 message_type;
guint8 *reversing_buffer;
gint offset = 0;
- gint i, len;
+ gint len;
proto_item *ti;
proto_tree *bmc_tree;
tvbuff_t *bit_reversed_tvb;
@@ -104,7 +104,7 @@ dissect_bmc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* Needs bit-reversing. Create a new buffer, copy the message to it and bit-reverse */
len = tvb_length(tvb);
reversing_buffer = (guint8 *)tvb_memdup(NULL, tvb, offset, len);
- bit_swap_buf_inplace(reversing_buffer, len);
+ bitswap_buf_inplace(reversing_buffer, len);
/* Make this new buffer part of the display and provide a way to dispose of it */
bit_reversed_tvb = tvb_new_child_real_data(tvb, reversing_buffer, len, len);