Skip to content

Commit

Permalink
fix(plc4j): Adjust endianess in ethernetip mspec.
Browse files Browse the repository at this point in the history
Signed-off-by: Łukasz Dywicki <luke@code-house.org>
  • Loading branch information
splatch committed Feb 9, 2022
1 parent 5b81e70 commit 3453b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/eip/src/main/resources/protocols/eip/eip.mspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
///EthernetIP Header of size 24
/////////////////////////////////////////////////////////////////

[discriminatedType EipPacket byteOrder='BIG_ENDIAN'
[discriminatedType EipPacket byteOrder='LITTLE_ENDIAN'
[discriminator uint 16 command]
[implicit uint 16 len 'lengthInBytes - 24']
[simple uint 32 sessionHandle]
Expand Down

0 comments on commit 3453b60

Please sign in to comment.