aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorSimon Holesch <simon@holesch.de>2021-12-10 22:34:55 +0100
committerAndersBroman <a.broman58@gmail.com>2022-10-31 14:54:39 +0000
commit8f6a640337d0554a74702ac877928478ed067ea8 (patch)
tree2a587151628fce1617d836b486ba5917c0be59c9 /epan
parent76301761bbf67218ffe5c6f04e7ebe8c1e714ff9 (diff)
epan: Allow FT_UINT_STRING for proto_tree_add_string()
Since cbd3c447 ("ftypes: Add FT_UINT_STRING to IS_FT_STRING() macro") proto_tree_add_string() accepts FT_UINT_STRING, but the API check still fails. Update the API check to reflect that change.
Diffstat (limited to 'epan')
-rw-r--r--epan/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 9e23797673..c75bd1262c 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -261,7 +261,7 @@ void proto_report_dissector_bug(const char *format, ...)
IS_FT_UINT((hfinfo)->type))
#define __DISSECTOR_ASSERT_FIELD_TYPE_IS_STRING(hfinfo) \
- (REPORT_DISSECTOR_BUG("%s:%u: field %s is not of type FT_STRING, FT_STRINGZ, FT_STRINGZPAD, or FT_STRINGZTRUNC", \
+ (REPORT_DISSECTOR_BUG("%s:%u: field %s is not of type FT_STRING, FT_STRINGZ, FT_STRINGZPAD, FT_STRINGZTRUNC, or FT_UINT_STRING", \
__FILE__, __LINE__, (hfinfo)->abbrev))
#define DISSECTOR_ASSERT_FIELD_TYPE_IS_STRING(hfinfo) \