diff options
author | wollman <wollman@FreeBSD.org> | 1997-01-21 19:44:46 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1997-01-21 19:44:46 +0000 |
commit | 231d854c5b0df452e46eaa94c6d9493ae2b2b90d (patch) | |
tree | 663706181a0198897749b9390bd4407ae895e0de | |
parent | acb5565ffeb09a56e3eddfee7f5aed8678e3b4cd (diff) | |
download | FreeBSD-src-231d854c5b0df452e46eaa94c6d9493ae2b2b90d.zip FreeBSD-src-231d854c5b0df452e46eaa94c6d9493ae2b2b90d.tar.gz |
Who had the conical hat? Correct a typo, hidden by a bad cast,
which prevented IP multicast reception from happening.
-rw-r--r-- | sys/netinet/in_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index 9ab5a92..f760956 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -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; \ } \ |