diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-10 20:45:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-10 20:45:36 +0000 |
commit | 17b34a0b85355a48dfd8fe91d8fa349f23b8143b (patch) | |
tree | 96fdde532d68d30461c2e4e73e7be2e069e206d5 /usr.bin | |
parent | 55db91e0c99e54a29af74d0fb9cfc68a78f42b48 (diff) |
hack: print hostname connection failed with
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sup/src/supfilesrv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/sup/src/supfilesrv.c b/usr.bin/sup/src/supfilesrv.c index 12e2ce20e16..839ceee6c71 100644 --- a/usr.bin/sup/src/supfilesrv.c +++ b/usr.bin/sup/src/supfilesrv.c @@ -42,6 +42,9 @@ * across the network to save BandWidth * * $Log: supfilesrv.c,v $ + * Revision 1.2 1996/06/10 20:45:35 deraadt + * hack: print hostname connection failed with + * * Revision 1.1 1995/12/16 11:46:59 deraadt * add sup to the tree * @@ -1675,6 +1678,9 @@ va_dcl #endif vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); + strcat(buf, " ["); + strcat(buf, remotehost()); + strcat(buf, "]"); goawayreason = salloc (buf); (void) msggoaway (); logerr ("%s",buf); |