tcp: clarify comment

This commit is contained in:
Dario Nieuwenhuis 2021-10-06 01:24:01 +02:00
parent aea021cfa9
commit c7ae2e4f9b
1 changed files with 1 additions and 1 deletions

View File

@ -1307,7 +1307,7 @@ impl<'a> TcpSocket<'a> {
(_, TcpControl::Rst, _) => (), (_, TcpControl::Rst, _) => (),
// The initial SYN cannot contain an acknowledgement. // The initial SYN cannot contain an acknowledgement.
(State::Listen, _, None) => (), (State::Listen, _, None) => (),
// This case is handled above. // This case is handled in `accepts()`.
(State::Listen, _, Some(_)) => unreachable!(), (State::Listen, _, Some(_)) => unreachable!(),
// Every packet after the initial SYN must be an acknowledgement. // Every packet after the initial SYN must be an acknowledgement.
(_, _, None) => { (_, _, None) => {