diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-12-06 08:36:43 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-12-06 16:39:17 +0000 |
commit | 0946518780bc260d0668485b3f6f7e1d14325a7b (patch) | |
tree | 86b1941bb952fe1bf796a3b5a0919a7b14332734 /text2pcap.c | |
parent | 9df987d2a4270822da070449c1513698012490f1 (diff) | |
download | wireshark-0946518780bc260d0668485b3f6f7e1d14325a7b.tar.gz wireshark-0946518780bc260d0668485b3f6f7e1d14325a7b.tar.bz2 wireshark-0946518780bc260d0668485b3f6f7e1d14325a7b.zip |
Update comments, get rid of IMPORT_MAX_PACKET.
Get rid of the IMPORT_MAX_PACKET #define; just directly use
WTAP_MAX_PACKET_SIZE_STANDARD, to match what text2pcap.c does.
Update comments in text2pcap.c and ui/text_import.c to say the maximum
packet size is WTAP_MAX_PACKET_SIZE_STANDARD.
Change-Id: I34118f76426d1416fccf43b2a356ad8d200de19b
Ping-Bug: 15292
Reviewed-on: https://code.wireshark.org/review/30945
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/text2pcap.c b/text2pcap.c index 62c3d28834..0eaf1588f1 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -59,8 +59,9 @@ * 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 64KiB-1. Packet - * snaplength is automatically set to 64KiB-1. + * This converter cannot read a single packet greater than + * WTAP_MAX_PACKET_SIZE_STANDARD. The snapshot length is automatically + * set to WTAP_MAX_PACKET_SIZE_STANDARD. */ #include <config.h> |