updated max header based on the 8 bytes that are used by MS/TP.
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
#include "npdu.h"
|
#include "npdu.h"
|
||||||
|
|
||||||
/* defines specific to MS/TP */
|
/* defines specific to MS/TP */
|
||||||
#define MAX_HEADER (2+1+1+1+2+1+2+1)
|
#define MAX_HEADER (2+1+1+1+2+1)
|
||||||
#define MAX_MPDU (MAX_HEADER+MAX_PDU)
|
#define MAX_MPDU (MAX_HEADER+MAX_PDU)
|
||||||
|
|
||||||
typedef struct dlmstp_packet {
|
typedef struct dlmstp_packet {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
#include "npdu.h"
|
#include "npdu.h"
|
||||||
|
|
||||||
/* defines specific to MS/TP */
|
/* defines specific to MS/TP */
|
||||||
#define MAX_HEADER (2+1+1+1+2+1+2+1)
|
#define MAX_HEADER (2+1+1+1+2+1)
|
||||||
#define MAX_MPDU (MAX_HEADER+MAX_PDU)
|
#define MAX_MPDU (MAX_HEADER+MAX_PDU)
|
||||||
|
|
||||||
typedef struct dlmstp_packet {
|
typedef struct dlmstp_packet {
|
||||||
|
|||||||
Reference in New Issue
Block a user