summaryrefslogtreecommitdiff
path: root/mux.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-06-23 08:31:57 +1000
committerDamien Miller <djm@mindrot.org>2011-06-23 08:31:57 +1000
commit6d7b4377dd740a215ded149b5ffbc871ba7891f8 (patch)
treedbde34093e0e630dbaf229294855b2bee108b039 /mux.c
parent69ff1df952eebf0489b775a60ede094eaf596a05 (diff)
- djm@cvs.openbsd.org 2011/06/22 22:08:42
[channels.c channels.h clientloop.c clientloop.h mux.c ssh.c] hook up a channel confirm callback to warn the user then requested X11 forwarding was refused by the server; ok markus@
Diffstat (limited to 'mux.c')
-rw-r--r--mux.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mux.c b/mux.c
index 101d7524b..add0e26b1 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.28 2011/05/08 12:52:01 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.29 2011/06/22 22:08:42 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -1214,8 +1214,10 @@ mux_session_confirm(int id, int success, void *arg)
1214 /* Request forwarding with authentication spoofing. */ 1214 /* Request forwarding with authentication spoofing. */
1215 debug("Requesting X11 forwarding with authentication " 1215 debug("Requesting X11 forwarding with authentication "
1216 "spoofing."); 1216 "spoofing.");
1217 x11_request_forwarding_with_spoofing(id, display, proto, data); 1217 x11_request_forwarding_with_spoofing(id, display, proto,
1218 /* XXX wait for reply */ 1218 data, 1);
1219 client_expect_confirm(id, "X11 forwarding", CONFIRM_WARN);
1220 /* XXX exit_on_forward_failure */
1219 } 1221 }
1220 1222
1221 if (cctx->want_agent_fwd && options.forward_agent) { 1223 if (cctx->want_agent_fwd && options.forward_agent) {