value&0x03 does not need to be shifted to the right by two.
cut-n-paste bug from a few lines above where value&0x0c do need to be shifted by two before printing as a value coverity 342 svn path=/trunk/; revision=36278
This commit is contained in:
parent
691c566900
commit
0832de6b8e
|
@ -3179,7 +3179,7 @@ dissect_ff_msg_sm_set_assign_info_req_dev_redundancy_state(tvbuff_t *tvb,
|
|||
decode_enumerated_bitfield(value, 0x03, 8,
|
||||
names_assigned_redundant_dev_type,
|
||||
"Assigned Device Redundancy Type: %s"),
|
||||
(value & 0x03) >> 2);
|
||||
value & 0x03);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue