diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-08-10 09:53:46 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-08-10 19:32:08 +0000 |
commit | 91abbb3dd84f3a3e8d664a37bdc1f67643bc9508 (patch) | |
tree | a1cb816385e907c182c908c34bd614af989b4554 /plugins/ethercat | |
parent | 1396f6ad555178f6b81cc1a65f9cb37b2d99aebf (diff) |
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>
Diffstat (limited to 'plugins/ethercat')
-rw-r--r-- | plugins/ethercat/packet-ecatmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c index 91c90ddc00..e43cc0f403 100644 --- a/plugins/ethercat/packet-ecatmb.c +++ b/plugins/ethercat/packet-ecatmb.c @@ -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 ) |