Skip to content

Commit 14a29b1

Browse files
committed
do not support TCP_INFO
1 parent 727e1e5 commit 14a29b1

File tree

1 file changed

+4
-2
lines changed
  • litebox_shim_linux/src/syscalls

1 file changed

+4
-2
lines changed

litebox_shim_linux/src/syscalls/net.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,10 @@ fn getsockopt(
375375
!nodelay
376376
})
377377
}
378-
TcpOption::KEEPCNT | TcpOption::KEEPIDLE => return Err(Errno::EOPNOTSUPP),
379-
TcpOption::CONGESTION | TcpOption::INFO => {
378+
TcpOption::KEEPCNT | TcpOption::KEEPIDLE | TcpOption::INFO => {
379+
return Err(Errno::EOPNOTSUPP);
380+
}
381+
TcpOption::CONGESTION => {
380382
unimplemented!("TCP option {tcpopt:?}")
381383
}
382384
};

0 commit comments

Comments
 (0)