From e687b0d38214769452b1bb926b53cd7f5ebc1534 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 7 Jan 2016 00:26:12 -0800 Subject: Expand a comment. Change-Id: Id928258326a1bd4512d88fe0f74b0a34262da56a Reviewed-on: https://code.wireshark.org/review/13104 Reviewed-by: Guy Harris --- dumpcap.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dumpcap.c') 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, -- cgit v1.2.1