summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-05 14:54:34 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-05 14:54:34 +0000
commit12057500cc6b2efedca40812cd5541a84e137270 (patch)
tree7a14942c60d8ac9d30dbb0c77741374be057411b /channels.h
parentadf74cdeca7e96e9cdcc63342c3290fbd0578ff3 (diff)
- markus@cvs.openbsd.org 2001/01/31 13:37:24
[channels.c channels.h serverloop.c ssh.c] do not disconnect if local port forwarding fails, e.g. if port is already in use - markus@cvs.openbsd.org 2001/02/01 14:58:09 [channels.c] use ipaddr in channel messages, ietf-secsh wants this - markus@cvs.openbsd.org 2001/01/31 12:26:20 [channels.c] ssh.com-2.0.1x does not send additional info in CHANNEL_OPEN_FAILURE messages; bug report from edmundo@rano.org
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.h b/channels.h
index 5e030a44..abd71904 100644
--- a/channels.h
+++ b/channels.h
@@ -32,7 +32,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* RCSID("$OpenBSD: channels.h,v 1.25 2001/01/29 16:55:36 markus Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.26 2001/01/31 20:37:23 markus Exp $"); */
#ifndef CHANNELS_H
#define CHANNELS_H
@@ -206,10 +206,10 @@ char *channel_open_message(void);
* Initiate forwarding of connections to local port "port" through the secure
* channel to host:port from remote side.
*/
-void
+int
channel_request_local_forwarding(u_short listen_port,
const char *host_to_connect, u_short port_to_connect, int gateway_ports);
-void
+int
channel_request_forwarding(const char *listen_address, u_short listen_port,
const char *host_to_connect, u_short port_to_connect, int gateway_ports,
int remote_fwd);