From: mickey Date: Mon, 29 Apr 1996 11:42:06 +0000 (+0000) Subject: fix last fix that was unfix for the before previous fix. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0841282ab2803bc54871b682824999e8c93ffa49;p=openbsd fix last fix that was unfix for the before previous fix. that is, redundant ). --- diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 31b32f13ff3..3485bcf7905 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.6 1996/04/29 01:13:01 mickey Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.7 1996/04/29 11:42:06 mickey Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.18 1996/02/13 22:00:14 christos Exp $ */ /* @@ -191,7 +191,7 @@ ether_output(ifp, m0, dst, rt0) /* If broadcasting on a simplex interface, loopback a copy */ if (*edst & 1) m->m_flags |= (M_BCAST|M_MCAST); - if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX)) + if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX) && (mcopy = m_copy(m, 0, (int)M_COPYALL))) { M_PREPEND(mcopy, sizeof (*eh), M_DONTWAIT); if (mcopy) {