Skip to content

Commit

Permalink
util: fix derp
Browse files Browse the repository at this point in the history
Signed-off-by: hexian000 <[email protected]>
  • Loading branch information
hexian000 committed Jan 2, 2023
1 parent 4b7ab1f commit dfa7658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sockutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ static bool sa_matches_inet6(
return false;
}
if (!IN6_IS_ADDR_UNSPECIFIED(&bind->sin6_addr) &&
!memcmp(&bind->sin6_addr, &dest->sin6_addr,
sizeof(struct in6_addr))) {
memcmp(&bind->sin6_addr, &dest->sin6_addr,
sizeof(struct in6_addr)) != 0) {
return false;
}
return true;
Expand Down

0 comments on commit dfa7658

Please sign in to comment.