Another "this is < WTAP_MAX_PACKET_SIZE so no checks are needed" note.
[metze/wireshark/wip.git] / wiretap / ascendtext.h
index 3c2736cfa76f0cac800de1c21d8a38ca86ec2004..208f8b4ff7f91227c3e0b7ce2fc0261601fc69e3 100644 (file)
 #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)