Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86471
b: refs/heads/master
c: 6556874
h: refs/heads/master
i:
  86469: 37050ad
  86467: 0c557dc
  86463: af32b9b
v: v3
  • Loading branch information
Jan Engelhardt authored and David S. Miller committed Feb 27, 2008
1 parent 008c760 commit 49e76fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d61f89e9417e68caf9ca801606694c1c960ad179
refs/heads/master: 6556874dc3770aefae89907b3cf9be8e23d66137
2 changes: 1 addition & 1 deletion trunk/net/netfilter/xt_conntrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ conntrack_addrcmp(const union nf_inet_addr *kaddr,
const union nf_inet_addr *umask, unsigned int l3proto)
{
if (l3proto == AF_INET)
return (kaddr->ip & umask->ip) == uaddr->ip;
return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0;
else if (l3proto == AF_INET6)
return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6,
&uaddr->in6) == 0;
Expand Down

0 comments on commit 49e76fd

Please sign in to comment.