aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-30 20:03:01 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-31 04:03:58 +0000
commitcca2cde68e621213a0825b19e5b71c09c2fb581a (patch)
tree36ebea8d2d2a3f0300327b93f34936da8dd94526 /wireshark-qt.cpp
parentee9d0f92307a13e288cfa966007b79ddfdb3e783 (diff)
No main window *to* update in the early argument list parsing.
We haven't yet popped the main window up, so, when we call capture_interface_list(), we shouldn't pass a pointer to the "update the main window" routine. Change-Id: Id3e02199479e66bb9e9aff99b435bd03af45a1af Reviewed-on: https://code.wireshark.org/review/6868 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 8aa16c2841..4b50045dff 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -546,7 +546,7 @@ int main(int argc, char *argv[])
break;
case 'D': /* Print a list of capture devices and exit */
#ifdef HAVE_LIBPCAP
- if_list = capture_interface_list(&err, &err_str,main_window_update);
+ if_list = capture_interface_list(&err, &err_str, NULL);
if (if_list == NULL) {
if (err == 0)
cmdarg_err("There are no interfaces on which a capture can be done");