Skip to content

Commit cef42cc

Browse files
mxindendjc
authored andcommitted
fix(udp): typo in sendmsg error log
1 parent edf16a6 commit cef42cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quinn-udp/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ fn log_sendmsg_error(
158158
if now.saturating_duration_since(*last_send_error) > IO_ERROR_LOG_INTERVAL {
159159
*last_send_error = now;
160160
log::warn!(
161-
"sendmsg error: {:?}, Transmit: {{ destination: {:?}, src_ip: {:?}, enc: {:?}, len: {:?}, segment_size: {:?} }}",
161+
"sendmsg error: {:?}, Transmit: {{ destination: {:?}, src_ip: {:?}, ecn: {:?}, len: {:?}, segment_size: {:?} }}",
162162
err, transmit.destination, transmit.src_ip, transmit.ecn, transmit.contents.len(), transmit.segment_size);
163163
}
164164
}

0 commit comments

Comments
 (0)