From 155117bd6127b2440cab906db776a18c00467c8e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 8 Jul 2004 07:47:29 +0000 Subject: [PATCH] Fix the error for a WTAP_ERR_UNSUPPORTED_ENCAP read error to more accurately reflect the problem (it's not that the entire file has a network type we don't handle - if it did, we'd have failed when we tried to open it - it's that the packet we tried to read does). svn path=/trunk/; revision=11341 --- tethereal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tethereal.c b/tethereal.c index 3c5c7ee82c..d3b683c9b3 100644 --- a/tethereal.c +++ b/tethereal.c @@ -1,6 +1,6 @@ /* tethereal.c * - * $Id: tethereal.c,v 1.244 2004/06/12 07:47:13 guy Exp $ + * $Id: tethereal.c,v 1.245 2004/07/08 07:47:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -2346,7 +2346,7 @@ load_cap_file(capture_file *cf, int out_file_type) case WTAP_ERR_UNSUPPORTED_ENCAP: fprintf(stderr, -"tethereal: \"%s\" is a capture file is for a network type that Tethereal doesn't support.\n(%s)\n", +"tethereal: \"%s\" has a packet with a network type that Tethereal doesn't support.\n(%s)\n", cf->filename, err_info); break;