Skip to content

Commit ece8489

Browse files
authored
Initializing the transactionCounterGenerator to the same value as in the reinitialization (1) . This way we can avoid a future problem that could happen in the reinitialization.
1 parent 810fb90 commit ece8489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plc4j/drivers/ab-eth/src/main/java/org/apache/plc4x/java/abeth/protocol/AbEthProtocolLogic.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class AbEthProtocolLogic extends Plc4xProtocolBase<CIPEncapsulationPacket
5757

5858
private AbEthConfiguration configuration;
5959

60-
private final AtomicInteger transactionCounterGenerator = new AtomicInteger(10);
60+
private final AtomicInteger transactionCounterGenerator = new AtomicInteger(1);
6161
private RequestTransactionManager tm;
6262
private long sessionHandle;
6363

0 commit comments

Comments
 (0)