|
Lines 1908-1916
sshpkt_fatal(struct ssh *ssh, const char
Link Here
|
| 1908 |
logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); |
1908 |
logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); |
| 1909 |
cleanup_exit(255); |
1909 |
cleanup_exit(255); |
| 1910 |
case SSH_ERR_CONN_TIMEOUT: |
1910 |
case SSH_ERR_CONN_TIMEOUT: |
| 1911 |
logit("Connection to %.200s timed out while " |
1911 |
logit("Connection to %.200s timed out", ssh_remote_ipaddr(ssh)); |
| 1912 |
"waiting to write", ssh_remote_ipaddr(ssh)); |
|
|
| 1913 |
cleanup_exit(255); |
1912 |
cleanup_exit(255); |
|
|
1913 |
case SSH_ERR_DISCONNECTED: |
| 1914 |
logit("Disconnected from %.200s", |
| 1915 |
ssh_remote_ipaddr(ssh)); |
| 1916 |
cleanup_exit(255); |
| 1917 |
case SSH_ERR_SYSTEM_ERROR: |
| 1918 |
if (errno == ECONNRESET) { |
| 1919 |
logit("Connection reset by %.200s", |
| 1920 |
ssh_remote_ipaddr(ssh)); |
| 1921 |
cleanup_exit(255); |
| 1922 |
} |
| 1923 |
/* FALLTHROUGH */ |
| 1914 |
default: |
1924 |
default: |
| 1915 |
fatal("%s%sConnection to %.200s: %s", |
1925 |
fatal("%s%sConnection to %.200s: %s", |
| 1916 |
tag != NULL ? tag : "", tag != NULL ? ": " : "", |
1926 |
tag != NULL ? tag : "", tag != NULL ? ": " : "", |