Send the output of the -D and -L options to the standard output rather
authorGuy Harris <guy@alum.mit.edu>
Thu, 25 Apr 2013 05:47:11 +0000 (05:47 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 25 Apr 2013 05:47:11 +0000 (05:47 -0000)
commit39779a7bee18c7489079154d8d72350fb0d74f0b
tree3eebb55d146d2cfc2e74d85ff496afa0c6dc0327
parent35d3fa75bed0add8fbfca7069327a3942552045c
Send the output of the -D and -L options to the standard output rather
than the standard error.

In Wireshark on Windows, create a console before doing so and destroy it
before exiting.  Don't do that in TShark or dumpcap, as those are
console-mode programs on Windows.

This should fix bug 8609 and still allow "wireshark -D" and "wireshark
-L" to work when the standard output isn't redirected.

svn path=/trunk/; revision=49025
Makefile.common
capture_opts.c
console_io.h [deleted file]
dumpcap.c
tshark.c
ui/gtk/main.c
ui/qt/main.cpp
ui/win32/console_win32.c