You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jm...@apache.org on 2017/12/27 04:48:58 UTC
[incubator-plc4x] 08/10: wrong constant value
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 a7ab5ee4bd82cdbcb3c2189e376d103d8e5b16cc
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Wed Dec 27 15:41:26 2017 +1100
wrong constant value
---
.../java/org/apache/plc4x/java/isotp/netty/model/tpdus/ErrorTpdu.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/model/tpdus/ErrorTpdu.java b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/model/tpdus/ErrorTpdu.java
index be4ac09..0851977 100644
--- a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/model/tpdus/ErrorTpdu.java
+++ b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/model/tpdus/ErrorTpdu.java
@@ -31,7 +31,7 @@ public class ErrorTpdu extends Tpdu {
private final RejectCause rejectCause;
public ErrorTpdu(short destinationReference, RejectCause rejectCause, List<Parameter> parameters, ByteBuf userData) {
- super(TpduCode.CONNECTION_CONFIRM, parameters, userData);
+ super(TpduCode.TPDU_ERROR, parameters, userData);
this.destinationReference = destinationReference;
this.rejectCause = rejectCause;
}
--
To stop receiving notification emails like this one, please contact
"commits@plc4x.apache.org" <co...@plc4x.apache.org>.