$NetBSD: patch-ad,v 1.1.1.1 2002/08/06 00:48:14 seb Exp $

--- apps/ssh/sshstdiofilter.c.orig	Thu May 16 10:32:22 2002
+++ apps/ssh/sshstdiofilter.c
@@ -301,7 +301,7 @@ void ssh_escape_char_dump_statistics(int
 
 #endif /* SSHDIST_SSH2_INTERNAL_SSH1_EMULATION */
 
-  ssh_tcp_get_host_name(local_host_name, MAXHOSTNAMELEN);
+  ssh_tcp_get_host_name(local_host_name, sizeof(local_host_name));
 
   if (client->config->host_to_connect)
     fprintf(stderr, "remote host: %s\n", client->config->host_to_connect);
