PERFORCE change 36100 for review
Sam Leffler
sam at FreeBSD.org
Thu Aug 14 09:16:13 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=36100
Change 36100 by sam at sam_ebb on 2003/08/14 09:15:56
use ETHER_IS_MULTICAST instead of inline code
Affected files ...
.. //depot/projects/netperf/sys/net/if_ethersubr.c#2 edit
Differences ...
==== //depot/projects/netperf/sys/net/if_ethersubr.c#2 (text+ko) ====
@@ -651,7 +651,7 @@
m_freem(m);
return;
}
- if (eh->ether_dhost[0] & 1) {
+ if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
if (bcmp((caddr_t)etherbroadcastaddr, (caddr_t)eh->ether_dhost,
sizeof(etherbroadcastaddr)) == 0)
m->m_flags |= M_BCAST;
More information about the p4-projects
mailing list