summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;