diff options
-rw-r--r-- | dispatch.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dispatch.c b/dispatch.c index 900a2c10c..afe618221 100644 --- a/dispatch.c +++ b/dispatch.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dispatch.c,v 1.25 2015/01/30 01:13:33 djm Exp $ */ | 1 | /* $OpenBSD: dispatch.c,v 1.26 2015/02/12 20:34:19 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -147,6 +147,10 @@ ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done, | |||
147 | logit("Connection to %.200s timed out while " | 147 | logit("Connection to %.200s timed out while " |
148 | "waiting to read", ssh_remote_ipaddr(ssh)); | 148 | "waiting to read", ssh_remote_ipaddr(ssh)); |
149 | cleanup_exit(255); | 149 | cleanup_exit(255); |
150 | case SSH_ERR_DISCONNECTED: | ||
151 | logit("Disconnected from %.200s", | ||
152 | ssh_remote_ipaddr(ssh)); | ||
153 | cleanup_exit(255); | ||
150 | default: | 154 | default: |
151 | fatal("%s: %s", __func__, ssh_err(r)); | 155 | fatal("%s: %s", __func__, ssh_err(r)); |
152 | } | 156 | } |