[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
Michael Brown 2013-07-12 11:15:42 +02:00
parent 18d0818f94
commit d4f8e56bb4
1 changed files with 1 additions and 1 deletions

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;