summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files/usr/lib/qos/generate.sh
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-03-27 14:47:54 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-03-27 14:47:54 +0000
commit9a3d8e3163cc0a8111ae42015aed35527acd1519 (patch)
tree0b29bb5d366c57d1e58a698f46704d86fa604cd5 /package/qos-scripts/files/usr/lib/qos/generate.sh
parent6703cacfdea10dbc134e25bca0d67ea425ec8299 (diff)
downloadmtk-20170518-9a3d8e3163cc0a8111ae42015aed35527acd1519.zip
mtk-20170518-9a3d8e3163cc0a8111ae42015aed35527acd1519.tar.gz
mtk-20170518-9a3d8e3163cc0a8111ae42015aed35527acd1519.tar.bz2
Load xt_layer7 for 2.6 kernels (#3269)
SVN-Revision: 10667
Diffstat (limited to 'package/qos-scripts/files/usr/lib/qos/generate.sh')
-rwxr-xr-xpackage/qos-scripts/files/usr/lib/qos/generate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh
index 04c833b..161af82 100755
--- a/package/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/package/qos-scripts/files/usr/lib/qos/generate.sh
@@ -69,6 +69,7 @@ parse_matching_rule() {
;;
*:layer7)
add_insmod ipt_layer7
+ add_insmod xt_layer7
append "$var" "-m layer7 --l7proto $value${pkt:+ --l7pkt}"
;;
*:ports|*:srcports|*:dstports)