diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-12-17 11:53:13 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-12-17 19:54:13 +0000 |
commit | e00f5852960163a1427487e3f0df7c7473b53a6d (patch) | |
tree | db10003898b4260578c72c6d44051170b81d70d5 /file.c | |
parent | 97cc005cb14ace45bb4a9f5b23e8fd2f7fb707da (diff) |
Fix another incorrect message for WTAP_ERR_UNSUPPORTED.
WTAP_ERR_FILE_UNKNOWN_FORMAT is reported if the file is in a format that
libwiretap doesn't know about (either because it's not a capture file at
all or because it's a capture file in a format it doesn't support).
WTAP_ERR_UNSUPPORTED is for files in a *known* format that are using
features or file format elements (record type, link-layer header type,
etc.) that libwireshark doesn't support. Fix another copy-and-pasteo
causing WTAP_ERR_UNSUPPORTED to be reported with a message appropriate
for WTAP_ERR_FILE_UNKNOWN_FORMAT.
Change-Id: Ib35e2a6b6c62517887e0386f0fed1795db335439
Reviewed-on: https://code.wireshark.org/review/5810
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5006,7 +5006,7 @@ cf_open_failure_alert_box(const char *filename, int err, gchar *err_info, case WTAP_ERR_UNSUPPORTED: /* Seen only when opening a capture file for reading. */ simple_error_message_box( - "The file \"%s\" isn't a capture file in a format Wireshark understands.\n" + "The file \"%s\" contains record data that Wireshark doesn't support.\n", "(%s)", display_basename, err_info); g_free(err_info); |