summaryrefslogtreecommitdiff
path: root/ui/gtk/decode_as_dlg.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-12-09 21:35:01 -0500
committerPascal Quantin <pascal.quantin@gmail.com>2014-12-15 21:09:35 +0000
commitfafa686a684c499c53d71dc513e37d6c8b99a22e (patch)
treefd3e0f253dee7e0cc01fae0512a36443cd1b1c3b /ui/gtk/decode_as_dlg.c
parent27095f956ed68d53dec5d3a9cb46a7e66cfdb03f (diff)
downloadwireshark-fafa686a684c499c53d71dc513e37d6c8b99a22e.tar.gz
Enable case-insensitive string dissector tables
Permit passing TRUE as the parameter during table registration to achieve that effect. Use it in RTP media type table. Bug: 10708 Change-Id: I892fb1a421d349f0c05197dec90f14fc34ad6b97 Reviewed-on: https://code.wireshark.org/review/5695 Reviewed-by: Evan Huus <eapache@gmail.com> Petri-Dish: Evan Huus <eapache@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/gtk/decode_as_dlg.c')
-rw-r--r--ui/gtk/decode_as_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/decode_as_dlg.c b/ui/gtk/decode_as_dlg.c
index 1c012a9258..e63ca6a6ee 100644
--- a/ui/gtk/decode_as_dlg.c
+++ b/ui/gtk/decode_as_dlg.c
@@ -282,7 +282,7 @@ decode_build_show_list (const gchar *table_name, ftenum_t selector_type,
case FT_UINT16:
case FT_UINT24:
case FT_UINT32:
- switch (get_dissector_table_base(table_name)) {
+ switch (get_dissector_table_param(table_name)) {
case BASE_DEC:
g_snprintf(string1, sizeof(string1), "%u", GPOINTER_TO_UINT(key));