From dbdcae80ba93961f66274f37178d745557786525 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 16 Dec 2014 22:40:45 -0800 Subject: Rename WTAP_ERR_UNSUPPORTED_ENCAP to WTAP_ERR_UNWRITABLE_ENCAP. That makes it clearer what the problem is, and that it should only be returned by the dump code path, not by the read code path. Change-Id: Icc5c9cff43be6c073f0467607555fa7138c5d074 Reviewed-on: https://code.wireshark.org/review/5797 Reviewed-by: Guy Harris --- rawshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rawshark.c') diff --git a/rawshark.c b/rawshark.c index b1e484544b..bcd9281082 100644 --- a/rawshark.c +++ b/rawshark.c @@ -1012,7 +1012,7 @@ load_cap_file(capture_file *cf) g_free(err_info); break; - case WTAP_ERR_UNSUPPORTED_ENCAP: + case WTAP_ERR_UNWRITABLE_ENCAP: cmdarg_err("The file \"%s\" has a packet with a network type that Rawshark doesn't support.\n(%s)", cf->filename, err_info); g_free(err_info); -- cgit v1.2.3