summaryrefslogtreecommitdiff
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-07 00:26:12 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-07 08:26:54 +0000
commite687b0d38214769452b1bb926b53cd7f5ebc1534 (patch)
tree04d823d31dde85622d66de8de993bc3c2b4afd6c /dumpcap.c
parentb400b8c50eae4ccae33180035f0942a163a18a5e (diff)
downloadwireshark-e687b0d38214769452b1bb926b53cd7f5ebc1534.tar.gz
Expand a comment.
Change-Id: Id928258326a1bd4512d88fe0f74b0a34262da56a Reviewed-on: https://code.wireshark.org/review/13104 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index c9511bea03..4de34b24ba 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -2228,7 +2228,12 @@ capture_loop_open_input(capture_options *capture_opts, loop_data *ld,
if (pcap_opts->cap_pipe_h == INVALID_HANDLE_VALUE) {
#endif
if (pcap_opts->cap_pipe_err == PIPNEXIST) {
- /* Pipe doesn't exist, so output message for interface */
+ /*
+ * We tried opening as an interface, and that failed,
+ * so we tried to open it as a pipe, but the pipe
+ * doesn't exist. Report the error message for
+ * the interface.
+ */
get_capture_device_open_failure_messages(open_err_str,
interface_opts.name,
errmsg,