Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libwrap Clean out "dirty" to avoid spurious log entries.
details: https://anonhg.NetBSD.org/src/rev/8e22841421f4
branches: trunk
changeset: 526061:8e22841421f4
user: atatat <atatat%NetBSD.org@localhost>
date: Wed Apr 24 16:37:08 2002 +0000
description:
Clean out "dirty" to avoid spurious log entries.
diffstat:
lib/libwrap/hosts_access.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a14b34a6d9da -r 8e22841421f4 lib/libwrap/hosts_access.c
--- a/lib/libwrap/hosts_access.c Wed Apr 24 16:28:55 2002 +0000
+++ b/lib/libwrap/hosts_access.c Wed Apr 24 16:37:08 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hosts_access.c,v 1.12 2002/04/04 19:50:27 atatat Exp $ */
+/* $NetBSD: hosts_access.c,v 1.13 2002/04/24 16:37:08 atatat Exp $ */
/*
* This module implements a simple access control language that is based on
@@ -24,7 +24,7 @@
#if 0
static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 02:13:22";
#else
-__RCSID("$NetBSD: hosts_access.c,v 1.12 2002/04/04 19:50:27 atatat Exp $");
+__RCSID("$NetBSD: hosts_access.c,v 1.13 2002/04/24 16:37:08 atatat Exp $");
#endif
#endif
@@ -475,6 +475,7 @@
return (NO); /* not tcpd_jump() */
}
+ dirty = 0;
for (i = 0; i < sizeof(addr); i++) {
addr.s6_addr[i] &= mask.s6_addr[i];
dirty |= (net.s6_addr[i] & ~mask.s6_addr[i]);
Home |
Main Index |
Thread Index |
Old Index