2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-02-16 18:48:12 +00:00

[tcp] Fix comment to match code behaviour

Reported-by: Thomas Miletich <thomas.miletich@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2013-07-12 11:15:42 +02:00
parent 18d0818f94
commit d4f8e56bb4

View File

@ -1216,7 +1216,7 @@ static int tcp_rx ( struct io_buffer *iobuf,
tcp_dump_flags ( tcp, tcphdr->flags );
DBGC2 ( tcp, "\n" );
/* If no connection was found, send RST */
/* If no connection was found, silently drop packet */
if ( ! tcp ) {
rc = -ENOTCONN;
goto discard;