diff options
author | Michael Mann <mmann78@netscape.net> | 2014-04-06 10:57:33 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-04-06 15:11:36 +0000 |
commit | b40cb1adea4f0e5628435c65bb0a0e158241c214 (patch) | |
tree | 48951903d86b8cd6814c90d53ca8805eb8f3de38 /epan/dissectors/packet-umts_fp.c | |
parent | 4a00ef22e3dedc65669b255f33cbf0348a2464f4 (diff) |
Apply found fix-encoding-args.pl errors in the dissector directory.
I coincidentally found a few files with errors, so I thought it might be time to run it on the whole directory again.
Change-Id: Ia32e54b3b1b94e5a418ed758ea79807c8bc7e798
Reviewed-on: https://code.wireshark.org/review/978
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index a5bfe5b7f9..c622479f79 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -1,4 +1,5 @@ -/* Routines for UMTS FP disassembly +/* packet-umts_fp.c + * Routines for UMTS FP disassembly * * Martin Mathieson * @@ -1010,7 +1011,7 @@ dissect_spare_extension_and_crc(tvbuff_t *tvb, packet_info *pinfo, guint16 calc_crc, read_crc; guint8 * data = (guint8 *)tvb_memdup(wmem_packet_scope(), tvb, header_length, offset-header_length); calc_crc = crc16_8005_noreflect_noxor(data, offset-header_length); - read_crc = tvb_get_bits16(tvb, offset*8, 16, FALSE); + read_crc = tvb_get_bits16(tvb, offset*8, 16, ENC_BIG_ENDIAN); if (calc_crc == read_crc) { proto_item_append_text(pi, " [correct]"); |