as per RFC 3611 - 4.1.1 run length is 14 bits not 15.

Fixes Bug 1022


svn path=/trunk/; revision=18805
This commit is contained in:
Luis Ontanon 2006-07-28 16:40:46 +00:00
parent f01fcc9369
commit ed3b76044e
1 changed files with 1 additions and 1 deletions

View File

@ -1349,7 +1349,7 @@ dissect_rtcp_xr(tvbuff_t *tvb, packet_info *pinfo _U_, int offset, proto_tree *t
count);
} else if ( ! ( value & 0x8000 )) {
const gchar* run_type = (value & 0x4000) ? "1s" : "0s";
value &= 0x7FFF;
value &= 0x3FFF;
proto_tree_add_text(chunks_tree, tvb, offset, 2,
"Chunk: %u -- Length Run %s, length: %u",
count, run_type, value);