diff options
author | ume <ume@FreeBSD.org> | 2002-01-28 14:50:07 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-01-28 14:50:07 +0000 |
commit | fd850072e807af92d7bbe6e9788ad1512ed52986 (patch) | |
tree | aa7213688f02bef0d0c01d25e97a7a80d151d4af /libexec/ftpd/extern.h | |
parent | cffbd574038c24c23c6860649b06bd6be1262445 (diff) | |
download | FreeBSD-src-fd850072e807af92d7bbe6e9788ad1512ed52986.zip FreeBSD-src-fd850072e807af92d7bbe6e9788ad1512ed52986.tar.gz |
Log wtmp according to an address family properly.
Reported by: matusita
Reviewed by: matusita
MFC after: 1 week
Diffstat (limited to 'libexec/ftpd/extern.h')
-rw-r--r-- | libexec/ftpd/extern.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h index 9e0562e..3a881db 100644 --- a/libexec/ftpd/extern.h +++ b/libexec/ftpd/extern.h @@ -34,13 +34,16 @@ * $FreeBSD$ */ +#include <sys/types.h> +#include <sys/socket.h> + void blkfree __P((char **)); char **copyblk __P((char **)); void cwd __P((char *)); void delete __P((char *)); void dologout __P((int)); void fatalerror __P((char *)); -void ftpd_logwtmp __P((char *, char *, char *)); +void ftpd_logwtmp __P((char *, char *, struct sockaddr *addr)); int ftpd_pclose __P((FILE *)); FILE *ftpd_popen __P((char *, char *)); char *getline __P((char *, int, FILE *)); |