diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-04-15 19:40:11 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-04-15 19:40:11 +0000 |
commit | 9aea38f51cb78ff249118108c0d586a280cced34 (patch) | |
tree | 445822cec2c051ad064ce36e207eb4a46a394216 /epan/proto.h | |
parent | b92603b395f1727569bf89afd31ca99508314d1e (diff) |
Revise comment on use of 'display' field in hf[] entry to show
that for FT_BOOLEAN the display field contains the bit-field width
only when hf[] entry bitmask is non-zero.
svn path=/trunk/; revision=32476
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h index 304494bc5a..b41a6203d4 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -185,7 +185,7 @@ struct _header_field_info { const char *name; /**< full name of this field */ const char *abbrev; /**< abbreviated name of this field */ enum ftenum type; /**< field type, one of FT_ (from ftypes.h) */ - int display; /**< one of BASE_, or number of field bits for FT_BOOLEAN */ + int display; /**< one of BASE_, or field bit-width if FT_BOOLEAN and non-zero bitmask */ const void *strings; /**< value_string, range_string or true_false_string, typically converted by VALS(), RVALS() or TFS(). If this is an FT_PROTOCOL then it points to the |