aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-07-02 10:48:58 +0200
committerMichael Mann <mmann78@netscape.net>2015-07-02 11:36:11 +0000
commit523ce152e82357f67b3cf72b061f92d8dbcc2396 (patch)
tree41cca17e06295f313135d4e2f43eb8cc66272c10 /epan/proto.c
parentdcd736847408d496d47414458b28e62fecdb6402 (diff)
Do not try to display a value_string for FT_FRAMENUM type
The hfinfo->strings pointer is used to store a ft_framenum_type_t Bug: 11325 Change-Id: Ia6ee1bdd4f1e6ff93907e6107fcecab56c0320de Reviewed-on: https://code.wireshark.org/review/9458 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 87be46461d..449e1c5995 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -4555,7 +4555,7 @@ proto_custom_set(proto_tree* tree, GSList *field_ids, gint occurrence,
offset_r += protoo_strlcpy(result+offset_r, tmp, size-offset_r);
- } else if (hfinfo->strings) {
+ } else if (hfinfo->strings && hfinfo->type != FT_FRAMENUM) {
number_out = hf_str_val = hf_try_val_to_str(number, hfinfo);
if (!number_out)