summaryrefslogtreecommitdiff
path: root/ui/text_import.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-03-27 16:15:41 +0200
committerAnders Broman <a.broman58@gmail.com>2017-03-28 05:06:58 +0000
commite1b14fbcfe9252922b73f5c3087a9ae7a61e6ad3 (patch)
tree566a77168c58d350990928c5dc23a6a327cc0c54 /ui/text_import.h
parentcabd7d82935561dde001ba7132ae145ea2c6dbeb (diff)
downloadwireshark-e1b14fbcfe9252922b73f5c3087a9ae7a61e6ad3.tar.gz
text_import: the maximum frame length should be WTAP_MAX_PACKET_SIZE
Change-Id: I41989e8b5fd273c518f786ca74683b9284d9403e Reviewed-on: https://code.wireshark.org/review/20747 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/text_import.h')
-rw-r--r--ui/text_import.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/text_import.h b/ui/text_import.h
index f6612d61dc..46f619421c 100644
--- a/ui/text_import.h
+++ b/ui/text_import.h
@@ -37,7 +37,7 @@
extern "C" {
#endif /* __cplusplus */
-#define IMPORT_MAX_PACKET 65535
+#define IMPORT_MAX_PACKET WTAP_MAX_PACKET_SIZE
/* The parameter interface */