aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-06-29 11:07:08 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-06-29 11:07:08 +0000
commita8eea83c37c445687c64a392aa6cdfe915a3bd4c (patch)
tree90fb7e86621499542ebfb7aebe954be7bbce6a0f /epan/dfilter
parent163ca72bab2d96cd032dac5a6e3f93f6e42068d9 (diff)
Also support FT_STRINGZ and FT_UINT_STRING in lower()/ upper() functions.
svn path=/trunk/; revision=43540
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/dfunctions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dfilter/dfunctions.c b/epan/dfilter/dfunctions.c
index f7023889f0..ffddee49bb 100644
--- a/epan/dfilter/dfunctions.c
+++ b/epan/dfilter/dfunctions.c
@@ -66,7 +66,9 @@ string_walk(GList* arg1list, GList **retval, gchar(*conv_func)(gchar))
arg_fvalue = (fvalue_t *)arg1->data;
switch (fvalue_ftype(arg_fvalue)->ftype) {
case FT_STRING:
- s = (char *)ep_strdup(fvalue_get((fvalue_t *)arg1->data));
+ case FT_STRINGZ:
+ case FT_UINT_STRING:
+ s = (char *)ep_strdup(fvalue_get(arg_fvalue));
for (c = s; *c; c++) {
/**c = string_ascii_to_lower(*c);*/
*c = conv_func(*c);