Pārlūkot izejas kodu

[tcp] Fix comment to match code behaviour

Reported-by: Thomas Miletich <thomas.miletich@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 gadus atpakaļ
vecāks
revīzija
d4f8e56bb4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/net/tcp.c

+ 1
- 1
src/net/tcp.c Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt