diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-04-10 00:10:49 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-04-10 10:17:15 +1000 |
commit | 001aa55484852370488786bd40e9fdad4b465811 (patch) | |
tree | 8b98f20603dea5362f66fbfcc8c400e29c7492bb /channels.c | |
parent | 260ede2787fe80b18b8d5920455b4fb268519c7d (diff) |
upstream: lots of typos in comments/docs. Patch from Karsten Weiss
after checking with codespell tool
(https://github.com/lucasdemarchi/codespell)
OpenBSD-Commit-ID: 373222f12d7ab606598a2d36840c60be93568528
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels.c b/channels.c index bdee1f386..65d9dbd5f 100644 --- a/channels.c +++ b/channels.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.c,v 1.379 2018/02/05 05:36:49 tb Exp $ */ | 1 | /* $OpenBSD: channels.c,v 1.380 2018/04/10 00:10:49 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -2599,7 +2599,7 @@ channel_output_poll(struct ssh *ssh) | |||
2599 | * SSH_CHANNEL_MUX_PROXY channel and replace the mux clients ID | 2599 | * SSH_CHANNEL_MUX_PROXY channel and replace the mux clients ID |
2600 | * with the newly allocated channel ID. | 2600 | * with the newly allocated channel ID. |
2601 | * 2) Upstream messages are received by matching SSH_CHANNEL_MUX_PROXY | 2601 | * 2) Upstream messages are received by matching SSH_CHANNEL_MUX_PROXY |
2602 | * channels and procesed by channel_proxy_upstream(). The local channel ID | 2602 | * channels and processed by channel_proxy_upstream(). The local channel ID |
2603 | * is then translated back to the original mux client ID. | 2603 | * is then translated back to the original mux client ID. |
2604 | * 3) In both cases we need to keep track of matching SSH2_MSG_CHANNEL_CLOSE | 2604 | * 3) In both cases we need to keep track of matching SSH2_MSG_CHANNEL_CLOSE |
2605 | * messages so we can clean up SSH_CHANNEL_MUX_PROXY channels. | 2605 | * messages so we can clean up SSH_CHANNEL_MUX_PROXY channels. |
@@ -2610,7 +2610,7 @@ channel_output_poll(struct ssh *ssh) | |||
2610 | * channel. E.g. client_request_forwarded_tcpip() needs to figure | 2610 | * channel. E.g. client_request_forwarded_tcpip() needs to figure |
2611 | * out whether the request is addressed to the local client or a | 2611 | * out whether the request is addressed to the local client or a |
2612 | * specific downstream client based on the listen-address/port. | 2612 | * specific downstream client based on the listen-address/port. |
2613 | * 6) Agent and X11-Forwarding have a similar problem and are currenly | 2613 | * 6) Agent and X11-Forwarding have a similar problem and are currently |
2614 | * not supported as the matching session/channel cannot be identified | 2614 | * not supported as the matching session/channel cannot be identified |
2615 | * easily. | 2615 | * easily. |
2616 | */ | 2616 | */ |
@@ -2787,7 +2787,7 @@ channel_proxy_upstream(Channel *c, int type, u_int32_t seq, struct ssh *ssh) | |||
2787 | /* | 2787 | /* |
2788 | * When receiving packets from the peer we need to check whether we | 2788 | * When receiving packets from the peer we need to check whether we |
2789 | * need to forward the packets to the mux client. In this case we | 2789 | * need to forward the packets to the mux client. In this case we |
2790 | * restore the orignal channel id and keep track of CLOSE messages, | 2790 | * restore the original channel id and keep track of CLOSE messages, |
2791 | * so we can cleanup the channel. | 2791 | * so we can cleanup the channel. |
2792 | */ | 2792 | */ |
2793 | if (c == NULL || c->type != SSH_CHANNEL_MUX_PROXY) | 2793 | if (c == NULL || c->type != SSH_CHANNEL_MUX_PROXY) |