Another "this is < WTAP_MAX_PACKET_SIZE so no checks are needed" note.

Change-Id: Ie46a141b1e41ee855defe60eba9137718770df9b
Reviewed-on: https://code.wireshark.org/review/15241
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-05-01 18:25:43 -07:00
parent f2353b2de1
commit 22a2821df2
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@
#define __ASCENDTEXT_H__
#include <glib.h>
/*
* ASCEND_MAX_PKT_LEN is < WTAP_MAX_PACKET_SIZE, so we don't need to
* check the packet length.
*/
#define ASCEND_MAX_DATA_ROWS 8
#define ASCEND_MAX_DATA_COLS 16
#define ASCEND_MAX_PKT_LEN (ASCEND_MAX_DATA_ROWS * ASCEND_MAX_DATA_COLS)