aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-f5ethtrailer.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-02-08 18:29:27 +0100
committerPeter Wu <peter@lekensteyn.nl>2019-02-10 16:13:12 +0000
commit7bb8d5ad31f71e38d782e9bad9487ce3030697b5 (patch)
tree35b7b0fc8f2902fec8f9a4bf21f8c5aa0256c6f4 /epan/dissectors/packet-f5ethtrailer.c
parent720c3bdc04621cc9aacee3d1ff15454ba81b9695 (diff)
f5ethtrailer: set G_REGEX_RAW for platform pattern (cleanup)
The platform is retrieved as ENC_ASCII which signifies that the subject is not expected to contain UTF-8. Set G_REGEX_RAW accordingly. Does not fix any crashes, it is just a cleanup. Change-Id: I61edd0204978d5b1e057b4f1cf8cdf8fb43c2a63 Ping-Bug: 14905 Reviewed-on: https://code.wireshark.org/review/31941 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-f5ethtrailer.c')
-rw-r--r--epan/dissectors/packet-f5ethtrailer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-f5ethtrailer.c b/epan/dissectors/packet-f5ethtrailer.c
index 775dfdd07c..9e844fc6db 100644
--- a/epan/dissectors/packet-f5ethtrailer.c
+++ b/epan/dissectors/packet-f5ethtrailer.c
@@ -1028,7 +1028,7 @@ static void f5eth_process_f5info(const guint8 *platform)
}
/** If the string matches the regex */
- if(g_regex_match_simple(pref_slots_regex, platform, (GRegexCompileFlags)0,
+ if(g_regex_match_simple(pref_slots_regex, platform, G_REGEX_RAW,
(GRegexMatchFlags)0) == TRUE)
{
/** Then display the slot information (only if in/out only is not selected). */