Added back 2 bytes in MS/TP header size for CRC16 since it failed unit testing.

This commit is contained in:
skarg
2008-01-09 15:41:46 +00:00
parent a458bdce44
commit 83da7c5b3b
2 changed files with 47 additions and 10 deletions
+2 -1
View File
@@ -42,7 +42,8 @@
#include "npdu.h"
/* defines specific to MS/TP */
#define MAX_HEADER (2+1+1+1+2+1)
/* preamble+type+dest+src+len+crc8+crc16 */
#define MAX_HEADER (2+1+1+1+2+1+2)
#define MAX_MPDU (MAX_HEADER+MAX_PDU)
typedef struct dlmstp_packet {