Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Sep 9, 2024
1 parent 05fb473 commit dc2158e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class TCPOptionTests {
tcpHeader.setAck(true)
val address = InetAddress.getLoopbackAddress()
val ipHeader = IPHeader.createIPHeader(address, address, IPType.TCP, tcpHeader.getHeaderLength().toInt())
//tcpHeader.checksum = TransportHeaderFactoryImpl.computeChecksum(ipHeader, tcpHeader, ByteBuffer.allocate(0))
// tcpHeader.checksum = TransportHeaderFactoryImpl.computeChecksum(ipHeader, tcpHeader, ByteBuffer.allocate(0))

val buffer = ByteBuffer.allocate(ipHeader.getTotalLength().toInt())
buffer.put(ipHeader.toByteArray())
Expand Down

0 comments on commit dc2158e

Please sign in to comment.