Skip to content

Commit

Permalink
fixed broken benchmark code
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Mar 8, 2018
1 parent 4f6dd38 commit a994a4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private static byte[] buildADSWriteResponse() {
return AdsWriteResponse.of(
targetAmsNetId, targetAmsPort, sourceAmsNetId, sourceAmsPort, invokeId,
result
).getBytes();
).toAmstcpPacket().getBytes();
}

private static AdsReadRequest buildAdsReadRequest() {
Expand Down Expand Up @@ -159,6 +159,6 @@ private static byte[] buildADSReadResponse() {
targetAmsNetId, targetAmsPort, sourceAmsNetId, sourceAmsPort, invokeId,
result,
data
).getBytes();
).toAmstcpPacket().getBytes();
}
}

0 comments on commit a994a4e

Please sign in to comment.