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:
parent
f2353b2de1
commit
22a2821df2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue