aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2012-05-07 19:53:49 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2012-05-07 19:53:49 +0000
commit4441dd7d598d5110d8a1ec860a59c7aec44378f9 (patch)
tree9384ebb5c0cce7af68659dd77b25fcb3f7f306f3 /file.c
parent8f9acccbc5e8141cb6cfddf8233c3713d3e29ccc (diff)
Give hints to capture from stdin or pipe instead of opening it as a file
svn path=/trunk/; revision=42484
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index 769f1d2577..c813cb1fd7 100644
--- a/file.c
+++ b/file.c
@@ -3978,7 +3978,8 @@ cf_open_failure_alert_box(const char *filename, int err, gchar *err_info,
case WTAP_ERR_RANDOM_OPEN_PIPE:
/* Seen only when opening a capture file for reading. */
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "The file \"%s\" is a pipe or FIFO; Wireshark can't read pipe or FIFO files.",
+ "The file \"%s\" is a pipe or FIFO; Wireshark can't read pipe or FIFO files.\n"
+ "To capture from a pipe or FIFO use wireshark -i -",
filename);
break;