aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/decode_as_dlg.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-07-09 13:44:06 -0400
committerMichael Mann <mmann78@netscape.net>2017-09-16 11:12:52 +0000
commit69250aa51eac68015e520f5680970ded2db1ee14 (patch)
tree7c437441cf41433d203d24850c7d440d2fa08045 /ui/gtk/decode_as_dlg.c
parent7d65b573f2734017be416f31852c4ede42bd987b (diff)
Add support for dissector tables of type FT_NONE.
This is for dissectors that have "payloads" that don't have a unique identifier to determine a sub dissector. For the command line parameter -d, specifying a selector is no longer required for dissector tables of type FT_NONE. Change-Id: I3370d9e0dc147deeca4f26b842fe35dc3bda876e Reviewed-on: https://code.wireshark.org/review/22574 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk/decode_as_dlg.c')
-rw-r--r--ui/gtk/decode_as_dlg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/decode_as_dlg.c b/ui/gtk/decode_as_dlg.c
index 4e8292b439..86f231bc63 100644
--- a/ui/gtk/decode_as_dlg.c
+++ b/ui/gtk/decode_as_dlg.c
@@ -323,6 +323,10 @@ decode_build_show_list (const gchar *table_name, ftenum_t selector_type,
selector_name = string1;
break;
+ case FT_NONE:
+ selector_name = NULL;
+ break;
+
case FT_STRING:
case FT_STRINGZ:
case FT_UINT_STRING: