From: claudio Date: Thu, 5 May 2022 08:43:37 +0000 (+0000) Subject: No longer consider IN_EXPERIMENTAL aka 240/4 as not forwardable. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a96e5a4e7eee0bf74bc3996f6f2e9a55de158edf;p=openbsd No longer consider IN_EXPERIMENTAL aka 240/4 as not forwardable. We already allow 240/4 in and out so lets allow it through as well. One of many steps to make 240/4 useable. Diff by Seth David Schoen (schoen at loyalty.org) OK bluhm@ djm@ --- diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 49850acaff9..74de12f1820 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in.c,v 1.173 2022/03/28 16:31:26 bluhm Exp $ */ +/* $OpenBSD: in.c,v 1.174 2022/05/05 08:43:37 claudio Exp $ */ /* $NetBSD: in.c,v 1.26 1996/02/13 23:41:39 christos Exp $ */ /* @@ -103,7 +103,7 @@ in_canforward(struct in_addr in) { u_int32_t net; - if (IN_EXPERIMENTAL(in.s_addr) || IN_MULTICAST(in.s_addr)) + if (IN_MULTICAST(in.s_addr)) return (0); if (IN_CLASSA(in.s_addr)) { net = in.s_addr & IN_CLASSA_NET;