Comment # 18
on bug 8718
from Fabio Tarabelloni
I tried the TFS function but there is a different condition. So,
VALS(zbee_zcl_boolean_names) is used in
hf_zbee_zcl_pwr_prof_energy_format_noleadingzero field. This field is shown
like a attribute subfield. TFS needs FT_BOOLEAN type but with boolean type I
can't display the value like a mask.
Is there a solution ?
(In reply to comment #16)
> Hi Fabio,
>
> the following hunk can be removed:
>
> +/* Boolean Codification */
> +const value_string zbee_zcl_boolean_names[] = {
> + { 0, "False" },
> + { 1, "True" },
> + { 0, NULL }
> +};
>
> And replaced by the true_false_string tfs_true_false found in epan/tfs.h.
>
> Then you just need to replace VALS(zbee_zcl_boolean_names) by
> TFS(&tfs_true_false).
You are receiving this mail because:
- You are watching all bug changes.