Remove unnecessary (caddr_t) casts of if_broadcastaddr.
This commit is contained in:
parent
c449e28482
commit
39efe73c15
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user