X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/afa5da1d1bf575000d260e9abe26d47b94e3e117..3fcf2930a48f765cdf7038f5ff8d9f56c4c7fd0f:/package/qos-scripts/files/usr/lib/qos/generate.sh?ds=sidebyside diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh index 04c833b5c..6c52027a6 100755 --- a/package/qos-scripts/files/usr/lib/qos/generate.sh +++ b/package/qos-scripts/files/usr/lib/qos/generate.sh @@ -59,16 +59,9 @@ parse_matching_rule() { *:dsthost) append "$var" "-d $value" ;; - *:ipp2p) - add_insmod ipt_ipp2p - append "$var" "-m ipp2p" - case "$value" in - all) append "$var" "--edk --dc --kazaa --gnu --bit";; - *) append "$var" "--$value";; - esac - ;; *:layer7) add_insmod ipt_layer7 + add_insmod xt_layer7 append "$var" "-m layer7 --l7proto $value${pkt:+ --l7pkt}" ;; *:ports|*:srcports|*:dstports)