summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/channels.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2006-07-11 18:50:49 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2006-07-11 18:50:49 +0000
commit08c0648542c379047cf09b0eee2f33d4d17cf40f (patch)
treea34bcb2706ce1e4eb7436020dd75ccd693ac730c /usr.bin/ssh/channels.h
parent449534206efec379c6c63b56bd7a56549ccf2ccd (diff)
add ExitOnForwardFailure: terminate the connection if ssh(1)
cannot set up all requested dynamic, local, and remote port forwardings. ok djm, dtucker, stevesk, jmc
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r--usr.bin/ssh/channels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h
index 2fdca520557..6d778f430cd 100644
--- a/usr.bin/ssh/channels.h
+++ b/usr.bin/ssh/channels.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.h,v 1.84 2006/03/25 22:22:42 djm Exp $ */
+/* $OpenBSD: channels.h,v 1.85 2006/07/11 18:50:47 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -207,10 +207,10 @@ void channel_set_af(int af);
void channel_permit_all_opens(void);
void channel_add_permitted_opens(char *, int);
void channel_clear_permitted_opens(void);
-void channel_input_port_forward_request(int, int);
+int channel_input_port_forward_request(int, int);
int channel_connect_to(const char *, u_short);
int channel_connect_by_listen_address(u_short);
-void channel_request_remote_forwarding(const char *, u_short,
+int channel_request_remote_forwarding(const char *, u_short,
const char *, u_short);
int channel_setup_local_fwd_listener(const char *, u_short,
const char *, u_short, int);