mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a typo which crept in from an earlier version of this file.
This commit is contained in:
parent
f3ece13593
commit
a85a378773
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue