Browse Source

[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 years ago
parent
commit
d4f8e56bb4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/tcp.c

+ 1
- 1
src/net/tcp.c View File

@@ -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;

Loading…
Cancel
Save