aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-02-24 08:45:57 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-02-24 08:45:57 +0000
commitf5c57d05c10b5d85a8e5b991f7102bb3d63a6e06 (patch)
treeb22cb9349e6d8b8ee854590fd5e09751eb56f3bd /libexec/ftpd
parent5825b0742872785b2be683c7a7095128c037b408 (diff)
Notes
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 83c1727167bb..7f40d6cc8897 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -44,7 +44,7 @@ static char copyright[] =
static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#endif
static const char rcsid[] =
- "$Id: ftpd.c,v 1.43 1997/11/21 07:38:42 charnier Exp $";
+ "$Id: ftpd.c,v 1.44 1997/12/24 19:13:22 imp Exp $";
#endif /* not lint */
/*
@@ -1912,7 +1912,8 @@ dolog(sin)
remotehost, hostname);
else
#endif
- syslog(LOG_INFO, "connection from %s", remotehost);
+ syslog(LOG_INFO, "connection from %s (%s)", remotehost,
+ inet_ntoa(sin->sin_addr));
}
}