mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove unnecessary (caddr_t) casts of if_broadcastaddr.
This commit is contained in:
parent
c449e28482
commit
39efe73c15
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue