diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sourcefilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/sourcefilter.c b/lib/libc/net/sourcefilter.c index 77b9689..4001526 100644 --- a/lib/libc/net/sourcefilter.c +++ b/lib/libc/net/sourcefilter.c @@ -306,7 +306,7 @@ setsourcefilter(int s, uint32_t interface, struct sockaddr *group, #ifdef INET6 case AF_INET6: if (grouplen != sizeof(struct sockaddr_in6) || - !IN6_IS_ADDR_MULTICAST(psu->sin6.sin6_addr)) { + !IN6_IS_ADDR_MULTICAST(&psu->sin6.sin6_addr)) { errno = EINVAL; return (-1); } @@ -367,7 +367,7 @@ getsourcefilter(int s, uint32_t interface, struct sockaddr *group, #ifdef INET6 case AF_INET6: if (grouplen != sizeof(struct sockaddr_in6) || - !IN6_IS_ADDR_MULTICAST(psu->sin6.sin6_addr)) { + !IN6_IS_ADDR_MULTICAST(&psu->sin6.sin6_addr)) { errno = EINVAL; return (-1); } |