-/* $OpenBSD: if_ethersubr.c,v 1.16 1997/01/02 20:45:49 deraadt Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.17 1997/01/26 21:43:36 tholo Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
}
ifp->if_obytes += m->m_pkthdr.len;
IF_ENQUEUE(&ifp->if_snd, m);
+ if (m->m_flags & M_MCAST)
+ ifp->if_omcasts++;
if ((ifp->if_flags & IFF_OACTIVE) == 0)
(*ifp->if_start)(ifp);
splx(s);
- if (m->m_flags & M_MCAST)
- ifp->if_omcasts++;
return (error);
bad: