1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

[kernel] fix 101-netfilter_layer7_pktmatch.patch for 2.6.26.8

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15518 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-04-30 15:37:24 +00:00
parent d4aa2aecb9
commit e849063a38

View File

@ -75,7 +75,7 @@
/* if we've classified it or seen too many packets */
- if(total_acct_packets(master_conntrack) > num_packets ||
- 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)) {
pattern_result = match_no_append(conntrack, master_conntrack,