mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 14:01:05 +02:00
add qos-scripts connbytes match from #1618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7091 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d5e01e3fd2
commit
6c640d00de
@ -111,6 +111,11 @@ parse_matching_rule() {
|
|||||||
esac
|
esac
|
||||||
ports=1
|
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)
|
1:pktsize)
|
||||||
value="$(echo "$value" | sed -e 's,-,:,g')"
|
value="$(echo "$value" | sed -e 's,-,:,g')"
|
||||||
add_insmod ipt_length
|
add_insmod ipt_length
|
||||||
|
Loading…
x
Reference in New Issue
Block a user