IAX: Fix the bitmask extracting the subclass field
See https://github.com/asterisk/asterisk/blob/master/channels/chan_iax2.c#L10154 Change-Id: I2b4dc8a5af783bae9c5afed03deb6cd0b85cacc2 Reviewed-on: https://code.wireshark.org/review/30486 Reviewed-by: Tom Hughes <tom@compton.nu> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
8537f3cb92
commit
009a970cb2
|
@ -1894,7 +1894,7 @@ dissect_fullpacket(tvbuff_t *tvb, guint32 offset,
|
|||
case AST_FRAME_VIDEO:
|
||||
/* bit 6 of the csub is used to represent the rtp 'marker' bit */
|
||||
rtp_marker = csub & 0x40 ? TRUE:FALSE;
|
||||
iax_packet -> codec = codec = uncompress_subclass((guint8)(csub & ~40));
|
||||
iax_packet -> codec = codec = uncompress_subclass((guint8)(csub & ~0x40));
|
||||
|
||||
if (packet_type_tree) {
|
||||
proto_item *item;
|
||||
|
|
Loading…
Reference in New Issue