mirror of https://github.com/ipxe/ipxe.git
[tcp] Fix comment to match code behaviour
Reported-by: Thomas Miletich <thomas.miletich@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/13/head
parent
18d0818f94
commit
d4f8e56bb4
|
@ -1216,7 +1216,7 @@ static int tcp_rx ( struct io_buffer *iobuf,
|
||||||
tcp_dump_flags ( tcp, tcphdr->flags );
|
tcp_dump_flags ( tcp, tcphdr->flags );
|
||||||
DBGC2 ( tcp, "\n" );
|
DBGC2 ( tcp, "\n" );
|
||||||
|
|
||||||
/* If no connection was found, send RST */
|
/* If no connection was found, silently drop packet */
|
||||||
if ( ! tcp ) {
|
if ( ! tcp ) {
|
||||||
rc = -ENOTCONN;
|
rc = -ENOTCONN;
|
||||||
goto discard;
|
goto discard;
|
||||||
|
|
Loading…
Reference in New Issue