forked from osmocom/wireshark
ROHC: self-describing length - 4 bytes indicated in 3 bits
This commit is contained in:
parent
bac5bc8daf
commit
92af8b2f51
|
@ -404,7 +404,7 @@ get_self_describing_var_len_val(tvbuff_t *tvb, proto_tree *tree, int offset, int
|
|||
} else if ((oct&0xe0)==0xe0) {
|
||||
/* First bits are 111: 4 octets */
|
||||
*val_len = 4;
|
||||
proto_tree_add_bits_item(tree, hf_rohc_var_len, tvb, bit_offset, 4, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_bits_item(tree, hf_rohc_var_len, tvb, bit_offset, 3, ENC_BIG_ENDIAN);
|
||||
bit_offset+=3;
|
||||
num_bits = 29;
|
||||
val = tvb_get_ntohl(tvb, offset)&0x1fffffff;
|
||||
|
|
Loading…
Reference in New Issue