ソースを参照

[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年前
コミット
d4f8e56bb4
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      src/net/tcp.c

+ 1
- 1
src/net/tcp.c ファイルの表示

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

読み込み中…
キャンセル
保存