diff --git a/ui/text_import.c b/ui/text_import.c index 1afa82d8d8..fa4419be3b 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -71,8 +71,8 @@ * hexdump line is dropped (including mail forwarding '>'). The offset * can be any hex number of four digits or greater. * - * This converter cannot read a single packet greater than 64K. Packet - * snaplength is automatically set to 64K. + * This converter cannot read a single packet greater than 64KiB-1. Packet + * snaplength is automatically set to 64KiB-1. */ #include "config.h" diff --git a/ui/text_import.h b/ui/text_import.h index 11ea4049cc..2b2fbd6bcb 100644 --- a/ui/text_import.h +++ b/ui/text_import.h @@ -38,7 +38,7 @@ extern "C" { #endif /* __cplusplus */ -#define IMPORT_MAX_PACKET 64000 +#define IMPORT_MAX_PACKET 65535 /* The parameter interface */