aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2008-04-03 22:13:52 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2008-04-03 22:13:52 +0000
commit906d2f3cbb7343d38ae986f87b04efc4760aba78 (patch)
tree51ff06c9ccd87a169b568d3c515fad7613793950 /gtk
parent5916e54d06fc3bd7d1ec000d7b4165a6792a259c (diff)
http://www.wireshark.org/lists/wireshark-dev/200803/msg00308.html
proto.[hc] define new APIs to allow delayed registration of protocol fields, so that dissectors with "flexible" fields like xml, radius, diameter, snmp do not have to load their files at startup but can do so as late as possible. gtk/dfilter_expr_dlg.c : have the expression dialog registering all prefixes so that all fileds appear in the dialog tshark.c register all prefixes when called with -G epan/radius_dict.l epan/dissectors/packet-radius.c epan/dissectors/packet-radius.h refactor registration to delay dictionary loading as long as possible svn path=/trunk/; revision=24762
Diffstat (limited to 'gtk')
-rw-r--r--gtk/dfilter_expr_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/dfilter_expr_dlg.c b/gtk/dfilter_expr_dlg.c
index 237fc0f69a..fb1264b26a 100644
--- a/gtk/dfilter_expr_dlg.c
+++ b/gtk/dfilter_expr_dlg.c
@@ -1088,6 +1088,8 @@ dfilter_expr_dlg_new(GtkWidget *filter_te)
GtkTreeSelection *l_sel;
#endif
+ proto_initialize_all_prefixes();
+
window = dlg_window_new("Wireshark: Filter Expression");
gtk_window_set_default_size(GTK_WINDOW(window), 500, 400);
gtk_container_set_border_width(GTK_CONTAINER(window), 5);