diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2015-05-01 04:01:59 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2015-05-01 04:01:59 +0000 |
commit | 926597c5cc4779009344165db3cacca9fe909378 (patch) | |
tree | 2e083657fce82d3e205bb0a6e3f49a0c072bb405 | |
parent | 72ea7dfe491832f86280b4baae1f0da61e8b6d88 (diff) |
reduce stderr spam when using ssh -S /path/mux -O forward -R 0:...
ok dtucker@
-rw-r--r-- | usr.bin/ssh/mux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/mux.c b/usr.bin/ssh/mux.c index 73d6597ad2e..0ffb105857f 100644 --- a/usr.bin/ssh/mux.c +++ b/usr.bin/ssh/mux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mux.c,v 1.51 2015/04/24 01:36:00 deraadt Exp $ */ +/* $OpenBSD: mux.c,v 1.52 2015/05/01 04:01:58 djm Exp $ */ /* * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> * @@ -592,7 +592,7 @@ mux_confirm_remote_forward(int type, u_int32_t seq, void *ctxt) if (type == SSH2_MSG_REQUEST_SUCCESS) { if (rfwd->listen_port == 0) { rfwd->allocated_port = packet_get_int(); - logit("Allocated port %u for mux remote forward" + debug("Allocated port %u for mux remote forward" " to %s:%d", rfwd->allocated_port, rfwd->connect_host, rfwd->connect_port); buffer_put_int(&out, MUX_S_REMOTE_PORT); @@ -1703,7 +1703,7 @@ mux_client_forward(int fd, int cancel_flag, u_int ftype, struct Forward *fwd) if (cancel_flag) fatal("%s: got MUX_S_REMOTE_PORT for cancel", __func__); fwd->allocated_port = buffer_get_int(&m); - logit("Allocated port %u for remote forward to %s:%d", + verbose("Allocated port %u for remote forward to %s:%d", fwd->allocated_port, fwd->connect_host ? fwd->connect_host : "", fwd->connect_port); |