diff options
| author | Michael Brown | 2013-07-12 11:15:42 +0200 |
|---|---|---|
| committer | Michael Brown | 2013-07-12 11:15:42 +0200 |
| commit | d4f8e56bb4b4529d8775c13f54f0eda3c1d3b28f (patch) | |
| tree | e9e2bf720a5824976030ddb6cdc2cef8f08996e5 | |
| parent | [tcp] Do not send RST for unrecognised connections (diff) | |
| download | ipxe-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>
| -rw-r--r-- | src/net/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c index 8432d559d..b97107fc8 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; |
