summaryrefslogtreecommitdiff
path: root/sshd
diff options
context:
space:
mode:
Diffstat (limited to 'sshd')
-rw-r--r--sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd b/sshd
index eb8558e..d177bc8 100644
--- a/sshd
+++ b/sshd
@@ -249,7 +249,7 @@ while (defined(my $ThisLine = <STDIN>)) {
($ThisLine =~ m/^(?:error:.*|fatal:) Connection closed by remote host/ ) or
($ThisLine =~ m/^(|fatal: )Read error from remote host(| [^ ]+): Connection reset by peer/ ) or
($ThisLine =~ m/^error: .*: read: Connection reset by peer/ ) or
- ($ThisLine =~ m/^Read error from remote host [^ ]+: (Connection timed out|No route to host)/ ) or
+ ($ThisLine =~ m/^Read error from remote host [^ ]+( port \d+)?: (Connection timed out|No route to host)/ ) or
($ThisLine =~ m/^fatal: Read from socket failed: No route to host/) or
($ThisLine =~ m/^fatal: Write failed: Network is unreachable/ ) or
($ThisLine =~ m/^fatal: Write failed: Broken pipe/) or