diff options
Diffstat (limited to 'sys/netinet/in_var.h')
-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; \ } \ |