aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-12-06 08:36:43 -0800
committerGuy Harris <guy@alum.mit.edu>2018-12-06 16:39:17 +0000
commit0946518780bc260d0668485b3f6f7e1d14325a7b (patch)
tree86b1941bb952fe1bf796a3b5a0919a7b14332734 /text2pcap.c
parent9df987d2a4270822da070449c1513698012490f1 (diff)
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.c5
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>