aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index b70c893df7..95459d5462 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1546,6 +1546,10 @@ int wtap_register_encap_type(const char* name, const char* short_name);
#define WTAP_ERR_INTERNAL -23
/** "Shouldn't happen" internal errors */
+#define WTAP_ERR_PACKET_TOO_LARGE -24
+ /** Packet being written is larger than we support; do not use when
+ reading, use WTAP_ERR_BAD_FILE instead */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */