aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-04-15 19:40:11 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-04-15 19:40:11 +0000
commit1e57763a63adc1d6632cada9430e698fc421d4f1 (patch)
tree445822cec2c051ad064ce36e207eb4a46a394216 /epan/proto.h
parent8ef6b283dfc57501a47e5f7abc40536d76668b76 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32476 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h2
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