summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-09-12 07:55:48 +0000
committerDamien Miller <djm@mindrot.org>2017-09-12 17:57:11 +1000
commit4ec0bb9f9ad7b4eb0af110fa8eddf8fa199e46bb (patch)
tree9a22d3ec3469c39a742fee06309e666a74696ce1 /channels.c
parent9145a73ce2ba30c82bbf91d7205bfd112529449f (diff)
upstream commit
unused variable Upstream-ID: 2f9ba09f2708993d35eac5aa71df910dcc52bac1
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels.c b/channels.c
index d1976f41b..72f0e7709 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.369 2017/09/12 07:32:04 djm Exp $ */ 1/* $OpenBSD: channels.c,v 1.370 2017/09/12 07:55:48 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2522,7 +2522,7 @@ channel_proxy_downstream(struct ssh *ssh, Channel *downstream)
2522 char *ctype = NULL, *listen_host = NULL; 2522 char *ctype = NULL, *listen_host = NULL;
2523 u_char type; 2523 u_char type;
2524 size_t have; 2524 size_t have;
2525 int ret = -1, r, idx; 2525 int ret = -1, r;
2526 u_int id, remote_id, listen_port; 2526 u_int id, remote_id, listen_port;
2527 2527
2528 /* sshbuf_dump(downstream->input, stderr); */ 2528 /* sshbuf_dump(downstream->input, stderr); */
@@ -2621,7 +2621,7 @@ channel_proxy_downstream(struct ssh *ssh, Channel *downstream)
2621 goto out; 2621 goto out;
2622 } 2622 }
2623 /* Record that connection to this host/port is permitted. */ 2623 /* Record that connection to this host/port is permitted. */
2624 idx = fwd_perm_list_add(ssh, FWDPERM_USER, "<mux>", -1, 2624 fwd_perm_list_add(ssh, FWDPERM_USER, "<mux>", -1,
2625 listen_host, NULL, (int)listen_port, downstream); 2625 listen_host, NULL, (int)listen_port, downstream);
2626 listen_host = NULL; 2626 listen_host = NULL;
2627 break; 2627 break;