add qos-scripts connbytes match from #1618

SVN-Revision: 7091
This commit is contained in:
Felix Fietkau 2007-05-04 22:10:40 +00:00
parent a1206669e8
commit 7d3baf4131

View file

@ -111,6 +111,11 @@ parse_matching_rule() {
esac
ports=1
;;
*:connbytes)
value="$(echo "$value" | sed -e 's,-,:,g')"
add_insmod ipt_connbytes
append "$var" "-m connbytes --connbytes $value --connbytes-dir both --connbytes-mode bytes"
;;
1:pktsize)
value="$(echo "$value" | sed -e 's,-,:,g')"
add_insmod ipt_length