Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19828
b: refs/heads/master
c: e55f1bc
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Feb 5, 2006
1 parent 35f0590 commit 6fab74f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: ee4bb818ae35f68d1f848eae0a7b150a38eb4168
refs/heads/master: e55f1bc5dcb60a47764f6eabd1501d2cb98fb2c4
2 changes: 1 addition & 1 deletion trunk/net/ipv4/netfilter/ipt_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ match_policy_out(const struct sk_buff *skb, const struct ipt_policy_info *info)
return 0;
}

return strict ? 1 : 0;
return strict ? i == info->len : 0;
}

static int match(const struct sk_buff *skb,
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/netfilter/ip6t_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ match_policy_out(const struct sk_buff *skb, const struct ip6t_policy_info *info)
return 0;
}

return strict ? 1 : 0;
return strict ? i == info->len : 0;
}

static int match(const struct sk_buff *skb,
Expand Down

0 comments on commit 6fab74f

Please sign in to comment.