Skip to content

Commit

Permalink
Fix send path
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Jan 30, 2024
1 parent f421e91 commit a299070
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neqo-common/src/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ pub fn tx(socket: impl AsFd, d: &Datagram) -> io::Result<usize> {
ecn: EcnCodepoint::from_bits(Into::<u8>::into(d.tos())),
contents: d[..].to_vec().into(),
segment_size: None,
src_ip: Some(d.source().ip()),
// TODO
src_ip: None,
};
let n = send_state
.send((&socket).into(), slice::from_ref(&transmit))
Expand Down

0 comments on commit a299070

Please sign in to comment.