summaryrefslogtreecommitdiff
path: root/usr.sbin/inetd/inetd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-17 05:41:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-17 05:41:20 +0000
commitee1d75dcd05013dcca03ca1dbd1f7e028046f6f9 (patch)
tree7b986a49c4d85a642f54ecc6a0894c8fe7637d63 /usr.sbin/inetd/inetd.c
parente20a4c3c0d123ef63450dfcdd87dba810df6eab5 (diff)
do not test for a bug which does not exist
Diffstat (limited to 'usr.sbin/inetd/inetd.c')
-rw-r--r--usr.sbin/inetd/inetd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index a6ef9980a7f..d013da8cb3f 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inetd.c,v 1.28 1997/06/17 05:26:22 denny Exp $ */
+/* $OpenBSD: inetd.c,v 1.29 1997/06/17 05:41:19 deraadt Exp $ */
/* $NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $ */
/*
* Copyright (c) 1983,1991 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)inetd.c 5.30 (Berkeley) 6/3/91";*/
-static char rcsid[] = "$OpenBSD: inetd.c,v 1.28 1997/06/17 05:26:22 denny Exp $";
+static char rcsid[] = "$OpenBSD: inetd.c,v 1.29 1997/06/17 05:41:19 deraadt Exp $";
#endif /* not lint */
/*
@@ -716,12 +716,6 @@ config(sig)
sep->se_hostaddr);
sep->se_checked = 0;
continue;
- } else if (hp->h_length != sizeof(struct in_addr)) {
- syslog(LOG_ERR,
- "%s: address size wrong (under DNS corruption attack?)",
- sep->se_hostaddr);
- sep->se_checked = 0;
- continue;
} else {
/*
* What to do about multi-homed hosts?