Comment # 5
on bug 8584
from Evan Huus
On the actual patch: it causes ./tools/checkAPI.pl to complain:
Error: hf_nfs_want_signal_deleg_when_resrc_avail: FT_BOOLEAN with a bitmask
must specify a 'parent field width' for 'display' in
epan/dissectors/packet-nfs.c
Error: hf_nfs_want_push_deleg_when_uncontended: FT_BOOLEAN with a bitmask must
specify a 'parent field width' for 'display' in epan/dissectors/packet-nfs.c
>From README.developer:
For FT_BOOLEAN fields that are also bitfields (i.e., 'bitmask' is non-zero),
'display' is used specify a "field-width" (i.e., tell the proto_tree how
wide the parent bitfield is). (If the FT_BOOLEAN 'bitmask' is zero, then
'display' must be BASE_NONE).
Just a weird corner of the API. I assume the parent bitfield is 4 bytes/32
bits?
You are receiving this mail because:
- You are watching all bug changes.