Remove unnecessary (caddr_t) casts of if_broadcastaddr.

This commit is contained in:
Warner Losh 2003-10-23 17:47:55 +00:00
parent c449e28482
commit 39efe73c15

View File

@ -404,8 +404,8 @@ fddi_input(ifp, m)
* Set mbuf flags for bcast/mcast.
*/
if (fh->fddi_dhost[0] & 1) {
if (bcmp((caddr_t)ifp->if_broadcastaddr,
(caddr_t)fh->fddi_dhost, FDDI_ADDR_LEN) == 0)
if (bcmp(ifp->if_broadcastaddr, fh->fddi_dhost,
FDDI_ADDR_LEN) == 0)
m->m_flags |= M_BCAST;
else
m->m_flags |= M_MCAST;