summaryrefslogtreecommitdiff
path: root/wiretap/ascendtext.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-05-01 18:25:43 -0700
committerGuy Harris <guy@alum.mit.edu>2016-05-02 01:26:14 +0000
commit22a2821df26d9a03c8670b2f8a75b60e12a74026 (patch)
treee3a078b97bc5e00779205fc845bd265819b7032c /wiretap/ascendtext.h
parentf2353b2de1b15ea186ccb75fe80a4cd209ef9eb0 (diff)
downloadwireshark-22a2821df26d9a03c8670b2f8a75b60e12a74026.tar.gz
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>
Diffstat (limited to 'wiretap/ascendtext.h')
-rw-r--r--wiretap/ascendtext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiretap/ascendtext.h b/wiretap/ascendtext.h
index 3c2736cfa7..208f8b4ff7 100644
--- a/wiretap/ascendtext.h
+++ b/wiretap/ascendtext.h
@@ -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)