diff options
author | bms <bms@FreeBSD.org> | 2007-06-12 19:08:38 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-06-12 19:08:38 +0000 |
commit | 720d6b85c6d2bf1972d57b0767c9a8aadbe92c57 (patch) | |
tree | e889075c91be987108db29fc18cfcec5795396ea | |
parent | 8693e2961d157647f18b2209598be50d77bcd137 (diff) | |
download | FreeBSD-src-720d6b85c6d2bf1972d57b0767c9a8aadbe92c57.zip FreeBSD-src-720d6b85c6d2bf1972d57b0767c9a8aadbe92c57.tar.gz |
Fix a typo which crept in from an earlier version of this file.
-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); } |