aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
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/dfilter
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/dfilter')
-rw-r--r--epan/dfilter/semcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/semcheck.c b/epan/dfilter/semcheck.c
index 9da8e9ba2f..1d86b1b25b 100644
--- a/epan/dfilter/semcheck.c
+++ b/epan/dfilter/semcheck.c
@@ -222,10 +222,10 @@ mk_fvalue_from_val_string(dfwork_t *dfw, header_field_info *hfinfo, char *s)
case FT_OID:
case FT_REL_OID:
case FT_SYSTEM_ID:
+ case FT_FRAMENUM: /* hfinfo->strings contains ft_framenum_type_t, not strings */
return NULL;
case FT_BOOLEAN:
- case FT_FRAMENUM:
case FT_UINT8:
case FT_UINT16:
case FT_UINT24: