diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-06-24 16:48:23 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-26 06:22:46 +0000 |
commit | 4addfc67b4cd35601d5f9c5ce134f23ea145934a (patch) | |
tree | af753108eb5c8f1d600aefded360dd3aa8408b5c /ui/gtk/main.c | |
parent | 60cdee9e307c15928a542adc547f27fd752c4837 (diff) |
Add an RA_INTERFACES register action.
Add RA_INTERFACES between RA_PREFERENCES and RA_CONFIGURATION. Wireshark
was spending a suspiciously long time loading module preferences here.
(Now we just need to find out why that section of the code is slow.)
Change-Id: Iecbe55e8e10c8844bcb151a13e383cb13a3f6eb1
Reviewed-on: https://code.wireshark.org/review/16133
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r-- | ui/gtk/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c index e7d37df5cd..623b092493 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -2361,6 +2361,8 @@ main(int argc, char *argv[]) commandline_other_options(argc, argv, &commandline_info, TRUE); #ifdef HAVE_LIBPCAP + splash_update(RA_INTERFACES, NULL, (gpointer)splash_win); + fill_in_local_interfaces(main_window_update); if (commandline_info.start_capture || commandline_info.list_link_layer_types) { |