summaryrefslogtreecommitdiff
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-12-17 16:31:49 -0800
committerGuy Harris <guy@alum.mit.edu>2014-12-18 00:32:14 +0000
commitaa27e665b1d469e54b8cbb9931d5324acdf4dc75 (patch)
tree809a647ffb7f63cad7d2cfadda44c46a7f439ba6 /wiretap/wtap.h
parent51522b33723dec4dd0481dcabc261010be39937c (diff)
downloadwireshark-aa27e665b1d469e54b8cbb9931d5324acdf4dc75.tar.gz
Rename WTAP_ERR_REC_TYPE_UNSUPPORTED to WTAP_ERR_UNWRITABLE_REC_TYPE.
That indicates that it's a problem specific to *writing* capture files; we've already converted some errors to that style, and added a new one in that style. Change-Id: I8268316fd8b1a9e301bf09ae970b4b1fbcb35c9d Reviewed-on: https://code.wireshark.org/review/5826 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 5e707a24db..e27ee772b0 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1736,7 +1736,7 @@ int wtap_register_encap_type(const char* name, const char* short_name);
/** Not really an error: the file type being checked is from a Lua
plugin, so that the code will call wslua_can_write_encap() instead if it gets this */
-#define WTAP_ERR_REC_TYPE_UNSUPPORTED -24
+#define WTAP_ERR_UNWRITABLE_REC_TYPE -24
/** Specified record type can't be written to that file type */
#define WTAP_ERR_UNWRITABLE_REC_DATA -25