summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-clientloop.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-12 17:54:07 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-12 17:54:07 +0000
commit5b2b1d78087f359682131bd6d150db0b610ca073 (patch)
treeb0986b781d9c6940acbec4cf330d892e0f8c220e /security/openssh/files/patch-clientloop.c
parentcreate ssh_config-dist and sshd_config-dist (diff)
Rename Patches to make navigation much more easier.
Notes
Notes: svn path=/head/; revision=55941
Diffstat (limited to 'security/openssh/files/patch-clientloop.c')
-rw-r--r--security/openssh/files/patch-clientloop.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/openssh/files/patch-clientloop.c b/security/openssh/files/patch-clientloop.c
new file mode 100644
index 000000000000..67fc4dcb4f6b
--- /dev/null
+++ b/security/openssh/files/patch-clientloop.c
@@ -0,0 +1,11 @@
+--- clientloop.c.orig Fri Apr 20 09:17:51 2001
++++ clientloop.c Sat May 26 15:18:51 2001
+@@ -1131,7 +1131,7 @@
+
+ if (strcmp(ctype, "forwarded-tcpip") == 0) {
+ c = client_request_forwarded_tcpip(ctype, rchan);
+- } else if (strcmp(ctype, "x11") == 0) {
++ } else if (strcmp(ctype, "x11") == 0 && options.forward_x11) {
+ c = client_request_x11(ctype, rchan);
+ } else if (strcmp(ctype, "auth-agent@openssh.com") == 0) {
+ c = client_request_agent(ctype, rchan);