summaryrefslogtreecommitdiff
path: root/mux.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-05-07 11:47:26 +0100
committerColin Watson <cjwatson@debian.org>2013-05-07 11:47:26 +0100
commit2ea3f720daeb1ca9f765365fce3a9546961fe624 (patch)
treec4fb7d1f51fa51e7677232de806aae150e29e2ac /mux.c
parentf5efcd3450bbf8261915e0c4a6f851229dddaa79 (diff)
parentecebda56da46a03dafff923d91c382f31faa9eec (diff)
* New upstream release (http://www.openssh.com/txt/release-6.2).
- Add support for multiple required authentication in SSH protocol 2 via an AuthenticationMethods option (closes: #195716). - Fix Sophie Germain formula in moduli(5) (closes: #698612). - Update ssh-copy-id to Phil Hands' greatly revised version (closes: #99785, #322228, #620428; LP: #518883, #835901, #1074798).
Diffstat (limited to 'mux.c')
-rw-r--r--mux.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/mux.c b/mux.c
index 5e0e65ff3..1ae0e0915 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.36 2012/07/06 01:37:21 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.38 2013/01/02 00:32:07 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 *
@@ -63,10 +63,6 @@
63# include <util.h> 63# include <util.h>
64#endif 64#endif
65 65
66#ifdef HAVE_LIBUTIL_H
67# include <libutil.h>
68#endif
69
70#include "openbsd-compat/sys-queue.h" 66#include "openbsd-compat/sys-queue.h"
71#include "xmalloc.h" 67#include "xmalloc.h"
72#include "log.h" 68#include "log.h"
@@ -188,7 +184,7 @@ static const struct {
188 184
189/* Cleanup callback fired on closure of mux slave _session_ channel */ 185/* Cleanup callback fired on closure of mux slave _session_ channel */
190/* ARGSUSED */ 186/* ARGSUSED */
191static void 187void
192mux_master_session_cleanup_cb(int cid, void *unused) 188mux_master_session_cleanup_cb(int cid, void *unused)
193{ 189{
194 Channel *cc, *c = channel_by_id(cid); 190 Channel *cc, *c = channel_by_id(cid);
@@ -738,9 +734,9 @@ process_mux_open_fwd(u_int rid, Channel *c, Buffer *m, Buffer *r)
738 } 734 }
739 735
740 if (ftype == MUX_FWD_LOCAL || ftype == MUX_FWD_DYNAMIC) { 736 if (ftype == MUX_FWD_LOCAL || ftype == MUX_FWD_DYNAMIC) {
741 if (channel_setup_local_fwd_listener(fwd.listen_host, 737 if (!channel_setup_local_fwd_listener(fwd.listen_host,
742 fwd.listen_port, fwd.connect_host, fwd.connect_port, 738 fwd.listen_port, fwd.connect_host, fwd.connect_port,
743 options.gateway_ports) < 0) { 739 options.gateway_ports)) {
744 fail: 740 fail:
745 logit("slave-requested %s failed", fwd_desc); 741 logit("slave-requested %s failed", fwd_desc);
746 buffer_put_int(r, MUX_S_FAILURE); 742 buffer_put_int(r, MUX_S_FAILURE);