Who had the conical hat? Correct a typo, hidden by a bad cast,

which prevented IP multicast reception from happening.
This commit is contained in:
Garrett Wollman 1997-01-21 19:44:46 +00:00
parent 211253fcfd
commit 93e808cd76
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21929

View File

@ -184,7 +184,7 @@ do { \
for (ifma = (ifp)->if_multiaddrs.lh_first; ifma; \
ifma = ifma->ifma_link.le_next) { \
if (ifma->ifma_addr->sa_family == AF_INET \
&& ((struct sockaddr_in *)ifma)->sin_addr.s_addr == \
&& ((struct sockaddr_in *)ifma->ifma_addr)->sin_addr.s_addr == \
(addr).s_addr) \
break; \
} \