diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index fec44e82a11..c7e8e891fea 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.164 2023/04/19 12:58:16 jsg Exp $ */ +/* $OpenBSD: inetd.c,v 1.165 2023/09/03 22:01:00 bluhm Exp $ */ /* * Copyright (c) 1983,1991 The Regents of the University of California. @@ -444,7 +444,7 @@ dg_badinput(struct sockaddr *sa) if (IN_MULTICAST(in.s_addr)) goto bad; switch ((in.s_addr & 0xff000000) >> 24) { - case 0: case 127: case 255: + case 0: case 255: goto bad; } if (dg_broadcast(&in))