diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-14 17:50:35 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-14 17:50:35 +0000 |
commit | 15851701e8fc470e17c6ef5966b7b32807279491 (patch) | |
tree | fc74c7baa8f4784253d68f6ff638e9850da12ab3 /epan/dfilter | |
parent | 6ead8f1ae56a1ba14cf95c6737854bfd3d2a1d0b (diff) |
Rework "extended value strings":
- Allow direct access when a range of values begins with a value other than 0;
- Provide value_string_ext_new() for creating extended value strings at runtime;
- Do access to value_string_ext members via a macro (all but value_string.c);
- Update documentation.
svn path=/trunk/; revision=34514
Diffstat (limited to 'epan/dfilter')
-rw-r--r-- | epan/dfilter/semcheck.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dfilter/semcheck.c b/epan/dfilter/semcheck.c index 82cde98243..45b6f7127c 100644 --- a/epan/dfilter/semcheck.c +++ b/epan/dfilter/semcheck.c @@ -232,9 +232,8 @@ mk_fvalue_from_val_string(header_field_info *hfinfo, char *s) } else { const value_string *vals = hfinfo->strings; - if (hfinfo->display & BASE_EXT_STRING) - vals = ((value_string_ext *) vals)->vals; + vals = VALUE_STRING_EXT_VS_P((value_string_ext *) vals); while (vals->strptr != NULL) { if (g_ascii_strcasecmp(s, vals->strptr) == 0) { |