summaryrefslogtreecommitdiffstats
path: root/src/net/tcp.c
diff options
context:
space:
mode:
authorMichael Brown2013-07-12 11:15:42 +0200
committerMichael Brown2013-07-12 11:15:42 +0200
commitd4f8e56bb4b4529d8775c13f54f0eda3c1d3b28f (patch)
treee9e2bf720a5824976030ddb6cdc2cef8f08996e5 /src/net/tcp.c
parent[tcp] Do not send RST for unrecognised connections (diff)
downloadipxe-d4f8e56bb4b4529d8775c13f54f0eda3c1d3b28f.tar.gz
ipxe-d4f8e56bb4b4529d8775c13f54f0eda3c1d3b28f.tar.xz
ipxe-d4f8e56bb4b4529d8775c13f54f0eda3c1d3b28f.zip
[tcp] Fix comment to match code behaviour
Reported-by: Thomas Miletich <thomas.miletich@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/tcp.c')
-rw-r--r--src/net/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 8432d559..b97107fc 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -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;