mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-20 18:23:41 +00:00
Fix incorrect size in split_transmit
This didn't impact any tests, but was confusing.
This commit is contained in:
@@ -667,7 +667,7 @@ fn split_transmit(transmit: Transmit, mut buffer: Bytes) -> Vec<(Transmit, Bytes
|
||||
transmits.push((
|
||||
Transmit {
|
||||
destination: transmit.destination,
|
||||
size: buffer.len(),
|
||||
size: contents.len(),
|
||||
ecn: transmit.ecn,
|
||||
segment_size: None,
|
||||
src_ip: transmit.src_ip,
|
||||
|
||||
Reference in New Issue
Block a user