Skip to content

Commit c563e1c

Browse files
committed
fix(net,test): Winsock disallows setting ecn to CE
Refer to https://learn.microsoft.com/en-us/windows/win32/winsock/winsock-ecn
1 parent 7aac743 commit c563e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compio-net/tests/udp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async fn send_msg_with_ipv6_ecn() {
8989
let mut control = vec![0u8; 32];
9090
let mut builder = CMsgBuilder::new(&mut control);
9191

92-
const ECN_BITS: i32 = 0b11;
92+
const ECN_BITS: i32 = 0b10;
9393

9494
#[cfg(unix)]
9595
builder

0 commit comments

Comments
 (0)