svn path=/trunk/; revision=24459
This commit is contained in:
Jeff Morriss 2008-02-25 15:21:20 +00:00
parent 1efbef8ef4
commit 74905320f8
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ static void dissect_ecat_datagram(tvbuff_t *tvb, packet_info *pinfo, proto_tree
init_EcParserHDR(&ecHdr, tvb, suboffset);
subsize = get_cmd_len(&ecHdr);
len = ecHdr.len&0x7fff;
len = ecHdr.len&0x07ff;
if ( len >= sizeof(ETHERCAT_MBOX_HEADER_LEN) &&
(ecHdr.cmd==EC_CMD_TYPE_FPWR || ecHdr.cmd==EC_CMD_TYPE_FPRD || ecHdr.cmd==EC_CMD_TYPE_APWR || ecHdr.cmd==EC_CMD_TYPE_APRD) &&