From 6fa07fb99b83947deb238e5bd8972284301f1df7 Mon Sep 17 00:00:00 2001 From: wollman Date: Mon, 7 Oct 1996 19:11:55 +0000 Subject: Remove some historical cruft inherited from the loopback driver in which there were three possible different code paths through which we could discard a packet (which, after all, is the entire function of this interface). --- sys/net/if_disc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/net/if_disc.c') diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c index ee08041..cbc0a6e 100644 --- a/sys/net/if_disc.c +++ b/sys/net/if_disc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)if_loop.c 8.1 (Berkeley) 6/10/93 - * $Id: if_disc.c,v 1.12 1996/04/07 17:39:03 bde Exp $ + * $Id: if_disc.c,v 1.13 1996/06/10 23:07:29 gpalmer Exp $ */ /* @@ -147,11 +147,6 @@ dsoutput(ifp, m, dst, rt) #endif m->m_pkthdr.rcvif = ifp; - if (rt && rt->rt_flags & (RTF_REJECT|RTF_BLACKHOLE)) { - m_freem(m); - return (rt->rt_flags & RTF_BLACKHOLE ? 0 : - rt->rt_flags & RTF_HOST ? EHOSTUNREACH : ENETUNREACH); - } ifp->if_opackets++; ifp->if_obytes += m->m_pkthdr.len; -- cgit v1.1