diff options
author | Evan Huus <eapache@gmail.com> | 2014-12-09 21:35:01 -0500 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-12-15 21:09:35 +0000 |
commit | fafa686a684c499c53d71dc513e37d6c8b99a22e (patch) | |
tree | fd3e0f253dee7e0cc01fae0512a36443cd1b1c3b /ui/qt/decode_as_dialog.cpp | |
parent | 27095f956ed68d53dec5d3a9cb46a7e66cfdb03f (diff) | |
download | wireshark-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/qt/decode_as_dialog.cpp')
-rw-r--r-- | ui/qt/decode_as_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/decode_as_dialog.cpp b/ui/qt/decode_as_dialog.cpp index 702f309cd6..72e9455e6e 100644 --- a/ui/qt/decode_as_dialog.cpp +++ b/ui/qt/decode_as_dialog.cpp @@ -100,7 +100,7 @@ QString DecodeAsDialog::entryString(const gchar *table_name, gpointer value) case FT_UINT32: { uint num_val = GPOINTER_TO_UINT(value); - switch (get_dissector_table_base(table_name)) { + switch (get_dissector_table_param(table_name)) { case BASE_DEC: entry_str = QString::number(num_val); @@ -347,7 +347,7 @@ void DecodeAsDialog::fillTypeColumn(QTreeWidgetItem *item) item->setText(type_col_, tr("String")); } else { QString type_desc = tr("Integer, base "); - switch (get_dissector_table_base(table_name)) { + switch (get_dissector_table_param(table_name)) { case BASE_OCT: type_desc.append("8"); break; |