diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-06-06 15:34:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-06-06 15:34:58 +0000 |
commit | d2e5e69ed2deb05c0347f4be15832edc6a542de7 (patch) | |
tree | bed0c7cd5f6302b76511ac8416f8f31b90677ed7 /libexec/tcpd/tcpdmatch/tcpdmatch.c | |
parent | c984e0aca85a96a37b4fede1fbb6d8f697bdd207 (diff) |
use dot_quad_addr_new() as required
Diffstat (limited to 'libexec/tcpd/tcpdmatch/tcpdmatch.c')
-rw-r--r-- | libexec/tcpd/tcpdmatch/tcpdmatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/tcpd/tcpdmatch/tcpdmatch.c b/libexec/tcpd/tcpdmatch/tcpdmatch.c index 6928bb63999..12c266983b6 100644 --- a/libexec/tcpd/tcpdmatch/tcpdmatch.c +++ b/libexec/tcpd/tcpdmatch/tcpdmatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcpdmatch.c,v 1.2 1999/05/23 17:19:23 aaron Exp $ */ +/* $OpenBSD: tcpdmatch.c,v 1.3 1999/06/06 15:34:57 deraadt Exp $ */ /* * tcpdmatch - explain what tcpd would do in a specific case @@ -19,7 +19,7 @@ #if 0 static char sccsid[] = "@(#) tcpdmatch.c 1.5 96/02/11 17:01:36"; #else -static char rcsid[] = "$OpenBSD: tcpdmatch.c,v 1.2 1999/05/23 17:19:23 aaron Exp $"; +static char rcsid[] = "$OpenBSD: tcpdmatch.c,v 1.3 1999/06/06 15:34:57 deraadt Exp $"; #endif #endif @@ -208,7 +208,7 @@ char **argv; * If a client address is specified, we simulate the effect of client * hostname lookup failure. */ - if (dot_quad_addr(client) != INADDR_NONE) { + if (dot_quad_addr(client, NULL)) { request_set(&request, RQ_CLIENT_ADDR, client, 0); tcpdmatch(&request); exit(0); |