summaryrefslogtreecommitdiffstats
path: root/channels.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-12-19 18:58:01 +0100
committerKevin Steves <stevesk@pobox.com>2001-12-19 18:58:01 +0100
commit366298c696e8c5b27bd27d683ea7b8bf30564362 (patch)
tree0bc22c3d8df006b97799a6ff491fe15ed6da8cdd /channels.h
parent - stevesk@cvs.openbsd.org 2001/12/06 18:20:32 (diff)
downloadopenssh-366298c696e8c5b27bd27d683ea7b8bf30564362.tar.xz
openssh-366298c696e8c5b27bd27d683ea7b8bf30564362.zip
- (stevesk) OpenBSD CVS sync X11 localhost display
- stevesk@cvs.openbsd.org 2001/11/29 14:10:51 [channels.h channels.c session.c] sshd X11 fake server will now listen on localhost by default: $ echo $DISPLAY localhost:12.0 $ netstat -an|grep 6012 tcp 0 0 127.0.0.1.6012 *.* LISTEN tcp6 0 0 ::1.6012 *.* LISTEN sshd_config gatewayports=yes can be used to revert back to the old behavior. will control this with another option later. ok markus@ - stevesk@cvs.openbsd.org 2001/12/19 08:43:11 [includes.h session.c] handle utsname.nodename case for FamilyLocal X authorization; ok markus@
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index f58c7283c..840268fcf 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.52 2001/11/29 19:06:39 stevesk Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.53 2001/11/29 21:10:51 stevesk Exp $"); */
#ifndef CHANNEL_H
#define CHANNEL_H
@@ -197,7 +197,7 @@ channel_request_forwarding(const char *, u_short, const char *, u_short, int,
/* x11 forwarding */
int x11_connect_display(void);
-char *x11_create_display_inet(int, int);
+int x11_create_display_inet(int, int);
void x11_input_open(int, int, void *);
void x11_request_forwarding(void);
void x11_request_forwarding_with_spoofing(int, const char *, const char *);