[openssh-commits] [openssh] 01/10: upstream commit

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Feb 17 09:39:13 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 8ec67d505bd23c8bf9e17b7a364b563a07a58ec8
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Thu Feb 12 20:34:19 2015 +0000

    upstream commit
    
    Prevent sshd spamming syslog with
     "ssh_dispatch_run_fatal: disconnected". ok markus@
---
 dispatch.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dispatch.c b/dispatch.c
index 900a2c1..afe6182 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.25 2015/01/30 01:13:33 djm Exp $ */
+/* $OpenBSD: dispatch.c,v 1.26 2015/02/12 20:34:19 dtucker Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *
@@ -147,6 +147,10 @@ ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done,
 			logit("Connection to %.200s timed out while "
 			    "waiting to read", ssh_remote_ipaddr(ssh));
 			cleanup_exit(255);
+		case SSH_ERR_DISCONNECTED:
+			logit("Disconnected from %.200s",
+			    ssh_remote_ipaddr(ssh));
+			cleanup_exit(255);
 		default:
 			fatal("%s: %s", __func__, ssh_err(r));
 		}

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list