mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
fix 101-netfilter_layer7_pktmatch.patch for 2.6.26.8
SVN-Revision: 15518
This commit is contained in:
parent
c1959052f7
commit
2e56467889
@ -75,7 +75,7 @@
|
|||||||
/* if we've classified it or seen too many packets */
|
/* if we've classified it or seen too many packets */
|
||||||
- if(total_acct_packets(master_conntrack) > num_packets ||
|
- if(total_acct_packets(master_conntrack) > num_packets ||
|
||||||
- master_conntrack->layer7.app_proto) {
|
- master_conntrack->layer7.app_proto) {
|
||||||
+ if(!info->pkt && (TOTAL_PACKETS > num_packets ||
|
+ if(!info->pkt && (total_acct_packets(master_conntrack) > num_packets ||
|
||||||
+ master_conntrack->layer7.app_proto)) {
|
+ master_conntrack->layer7.app_proto)) {
|
||||||
|
|
||||||
pattern_result = match_no_append(conntrack, master_conntrack,
|
pattern_result = match_no_append(conntrack, master_conntrack,
|
||||||
|
Loading…
Reference in New Issue
Block a user