diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-07 00:26:12 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-07 08:26:54 +0000 |
commit | e687b0d38214769452b1bb926b53cd7f5ebc1534 (patch) | |
tree | 04d823d31dde85622d66de8de993bc3c2b4afd6c /dumpcap.c | |
parent | b400b8c50eae4ccae33180035f0942a163a18a5e (diff) | |
download | wireshark-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.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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, |