summaryrefslogtreecommitdiffstats
path: root/lib/libwrap
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-06-30 06:05:59 +0000
committerderaadt <deraadt@openbsd.org>1997-06-30 06:05:59 +0000
commitfa38a9eb6f454632b939502e12ef06ae6d53d926 (patch)
tree6268e4ebf769cd94fa7bd4abde6d8a4537a33c36 /lib/libwrap
parentWall. uid & gid are not perfect .. but that is OK (diff)
downloadwireguard-openbsd-fa38a9eb6f454632b939502e12ef06ae6d53d926.tar.xz
wireguard-openbsd-fa38a9eb6f454632b939502e12ef06ae6d53d926.zip
alpha bits
Diffstat (limited to 'lib/libwrap')
-rw-r--r--lib/libwrap/hosts_access.c10
-rw-r--r--lib/libwrap/misc.c6
-rw-r--r--lib/libwrap/tcpd.h4
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/libwrap/hosts_access.c b/lib/libwrap/hosts_access.c
index 7ca0b493511..83aa4b05691 100644
--- a/lib/libwrap/hosts_access.c
+++ b/lib/libwrap/hosts_access.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hosts_access.c,v 1.2 1997/03/29 04:14:56 millert Exp $ */
+/* $OpenBSD: hosts_access.c,v 1.3 1997/06/30 06:05:59 deraadt Exp $ */
/*
* This module implements a simple access control language that is based on
@@ -23,7 +23,7 @@
#if 0
static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 02:13:22";
#else
-static char rcsid[] = "$OpenBSD: hosts_access.c,v 1.2 1997/03/29 04:14:56 millert Exp $";
+static char rcsid[] = "$OpenBSD: hosts_access.c,v 1.3 1997/06/30 06:05:59 deraadt Exp $";
#endif
#endif
@@ -318,9 +318,9 @@ char *net_tok;
char *mask_tok;
char *string;
{
- unsigned long net;
- unsigned long mask;
- unsigned long addr;
+ in_addr_t net;
+ in_addr_t mask;
+ in_addr_t addr;
/*
* Disallow forms other than dotted quad: the treatment that inet_addr()
diff --git a/lib/libwrap/misc.c b/lib/libwrap/misc.c
index 7819fb59309..dfbb1996e3a 100644
--- a/lib/libwrap/misc.c
+++ b/lib/libwrap/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.1 1997/02/26 03:06:53 downsj Exp $ */
+/* $OpenBSD: misc.c,v 1.2 1997/06/30 06:06:00 deraadt Exp $ */
/*
* Misc routines that are used by tcpd and by tcpdchk.
@@ -10,7 +10,7 @@
#if 0
static char sccsic[] = "@(#) misc.c 1.2 96/02/11 17:01:29";
#else
-static char rcsid[] = "$OpenBSD: misc.c,v 1.1 1997/02/26 03:06:53 downsj Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.2 1997/06/30 06:06:00 deraadt Exp $";
#endif
#endif
@@ -69,7 +69,7 @@ int delimiter;
/* dot_quad_addr - convert dotted quad to internal form */
-unsigned long dot_quad_addr(str)
+in_addr_t dot_quad_addr(str)
char *str;
{
int in_run = 0;
diff --git a/lib/libwrap/tcpd.h b/lib/libwrap/tcpd.h
index 2177c14be4d..8a7ba02e6de 100644
--- a/lib/libwrap/tcpd.h
+++ b/lib/libwrap/tcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpd.h,v 1.3 1997/06/23 11:16:25 downsj Exp $ */
+/* $OpenBSD: tcpd.h,v 1.4 1997/06/30 06:06:00 deraadt Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -112,7 +112,7 @@ extern void clean_exit __P((struct request_info *));
extern void refuse __P((struct request_info *));
extern char *xgets __P((char *, int, FILE *));
extern char *split_at __P((char *, int));
-extern unsigned long dot_quad_addr __P((char *));
+extern in_addr_t dot_quad_addr __P((char *));
/* Global variables. */