diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-05-01 04:01:58 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-10 11:54:20 +1000 |
commit | 8312cfb8ad88657517b3e23ac8c56c8e38eb9792 (patch) | |
tree | 1e79c85f47800489b6e15025d5ec55bda45d1ee1 /mux.c | |
parent | 179be0f5e62f1f492462571944e45a3da660d82b (diff) |
upstream commit
reduce stderr spam when using ssh -S /path/mux -O forward
-R 0:... ok dtucker@
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mux.c,v 1.51 2015/04/24 01:36:00 deraadt Exp $ */ | 1 | /* $OpenBSD: mux.c,v 1.52 2015/05/01 04:01:58 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 | * |
@@ -605,7 +605,7 @@ mux_confirm_remote_forward(int type, u_int32_t seq, void *ctxt) | |||
605 | if (type == SSH2_MSG_REQUEST_SUCCESS) { | 605 | if (type == SSH2_MSG_REQUEST_SUCCESS) { |
606 | if (rfwd->listen_port == 0) { | 606 | if (rfwd->listen_port == 0) { |
607 | rfwd->allocated_port = packet_get_int(); | 607 | rfwd->allocated_port = packet_get_int(); |
608 | logit("Allocated port %u for mux remote forward" | 608 | debug("Allocated port %u for mux remote forward" |
609 | " to %s:%d", rfwd->allocated_port, | 609 | " to %s:%d", rfwd->allocated_port, |
610 | rfwd->connect_host, rfwd->connect_port); | 610 | rfwd->connect_host, rfwd->connect_port); |
611 | buffer_put_int(&out, MUX_S_REMOTE_PORT); | 611 | buffer_put_int(&out, MUX_S_REMOTE_PORT); |
@@ -1722,7 +1722,7 @@ mux_client_forward(int fd, int cancel_flag, u_int ftype, struct Forward *fwd) | |||
1722 | if (cancel_flag) | 1722 | if (cancel_flag) |
1723 | fatal("%s: got MUX_S_REMOTE_PORT for cancel", __func__); | 1723 | fatal("%s: got MUX_S_REMOTE_PORT for cancel", __func__); |
1724 | fwd->allocated_port = buffer_get_int(&m); | 1724 | fwd->allocated_port = buffer_get_int(&m); |
1725 | logit("Allocated port %u for remote forward to %s:%d", | 1725 | verbose("Allocated port %u for remote forward to %s:%d", |
1726 | fwd->allocated_port, | 1726 | fwd->allocated_port, |
1727 | fwd->connect_host ? fwd->connect_host : "", | 1727 | fwd->connect_host ? fwd->connect_host : "", |
1728 | fwd->connect_port); | 1728 | fwd->connect_port); |