CIP: More attribute updates
authorD. Ulis <daulis0@gmail.com>
Wed, 21 Dec 2016 15:13:53 +0000 (10:13 -0500)
committerMichael Mann <mmann78@netscape.net>
Wed, 21 Dec 2016 20:15:11 +0000 (20:15 +0000)
commitd70d32edb9f3425cb3e93dd6ff4b3d676b1b8858
treee9b3c572a0b4c99105476392230cb3e261f38d46
parent5b1b136a29383a70875048e6474e69b486ecb97c
CIP: More attribute updates
1. CIP Safety: SERCOS Safety Network Number attribute should be 6 bytes. Don't just use all remaining bytes
2. Remove cip_byte_array type. The last remaining usage was #1 above and it really shouldn't be used in the future. Any attribute that would eat up all remaining bytes would have issues with Get Attribute List responses and Set Attribute List requests.
3. Optional Attribute List: Display the attribute name if known.
4. Port: Display Port Number name
5. Port: Associated Communication Objects attribute

Change-Id: I94d99bb1f07aa4b8c44949b2ffb5d75e72483459
Reviewed-on: https://code.wireshark.org/review/19374
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-cip.c
epan/dissectors/packet-cip.h
epan/dissectors/packet-cipsafety.c