Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14934
b: refs/heads/master
c: 2a43c4a
h: refs/heads/master
v: v3
  • Loading branch information
Phil Oester authored and David S. Miller committed Dec 1, 2005
1 parent bffc920 commit 8871e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73f306024c15bd12e59677d6eaf43ecced614f04
refs/heads/master: 2a43c4af3fa2e701008d51c28365e26fccf9cbb0
1 change: 1 addition & 0 deletions trunk/net/ipv4/netfilter/ipt_recent.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ match(const struct sk_buff *skb,
}
if(info->seconds && info->hit_count) {
for(pkt_count = 0, hits_found = 0; pkt_count < ip_pkt_list_tot; pkt_count++) {
if(r_list[location].last_pkts[pkt_count] == 0) break;
if(time_before_eq(now,r_list[location].last_pkts[pkt_count]+info->seconds*HZ)) hits_found++;
}
if(hits_found >= info->hit_count) ans = !info->invert; else ans = info->invert;
Expand Down

0 comments on commit 8871e8c

Please sign in to comment.