diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2007-06-12 19:08:38 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2007-06-12 19:08:38 +0000 |
| commit | a85a378773887d80819642c951ee496c7c745ec3 (patch) | |
| tree | e889075c91be987108db29fc18cfcec5795396ea /lib/libc | |
| parent | f3ece13593717697953f05e41181609992d506e6 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -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 77b9689ea21c..4001526e7384 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); } |
