This is an automated email from the ASF dual-hosted git repository.

jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit 29098a867fd355e9772623b02477e4e37612ea60
Author: Justin Mclean <jmcl...@apache.org>
AuthorDate: Sat Dec 30 16:06:46 2017 +1100

    looks like size of header was off - can someone double check
---
 .../src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
 
b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
index ecd6ef1..2271312 100644
--- 
a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
+++ 
b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
@@ -269,7 +269,7 @@ public class IsoTPProtocol extends 
MessageToMessageCodec<IsoOnTcpMessage, Tpdu>
                     headerLength = 7;
                     break;
                 case DISCONNECT_CONFIRM:
-                    headerLength = 8;
+                    headerLength = 6;
                     break;
                 case TPDU_ERROR:
                     headerLength = 5;

-- 
To stop receiving notification emails like this one, please contact
"commits@plc4x.apache.org" <commits@plc4x.apache.org>.

Reply via email to