diff options
Diffstat (limited to 'ui/capture.c')
-rw-r--r-- | ui/capture.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/capture.c b/ui/capture.c index 90cc169d9b..cc4b09127e 100644 --- a/ui/capture.c +++ b/ui/capture.c @@ -377,6 +377,14 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing, errmsg = errmsg_errno; break; + case WTAP_ERR_DECOMPRESSION_NOT_SUPPORTED: + g_snprintf(errmsg_errno, sizeof(errmsg_errno), + "We don't support the form of compression used by the compressed file \"%%s\".\n" + "(%s)", err_info != NULL ? err_info : "no information supplied"); + g_free(err_info); + errmsg = errmsg_errno; + break; + default: g_snprintf(errmsg_errno, sizeof(errmsg_errno), "The file \"%%s\" could not be %s: %s.", |