ethercat: fix check for SdoControl (CID 1256520).

Change-Id: I6a24974b41f9abee32e3a170b607062bf80f3368
Reviewed-on: https://code.wireshark.org/review/16990
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2016-08-10 09:53:46 +02:00 committed by Anders Broman
parent 1396f6ad55
commit 91abbb3dd8
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
init_sdo_info_header(&info, tvb, offset);
col_append_str(pinfo->cinfo, COL_INFO, val_to_str(info.anSdoControlUnion.v.OpCode & 0x7F, CANopenSdoInfo, "%d (Unknown)"));
if ( (info.anSdoControlUnion.v.OpCode & 0x80) != 0 )
if ( info.anSdoControlUnion.v.InComplete )
col_append_str(pinfo->cinfo, COL_INFO, " - More Follows");
if( tree )