projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a120666
)
add qos-scripts connbytes match from #1618
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 May 2007 22:10:40 +0000
(22:10 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 4 May 2007 22:10:40 +0000
(22:10 +0000)
SVN-Revision: 7091
package/qos-scripts/files/usr/lib/qos/generate.sh
patch
|
blob
|
history
diff --git
a/package/qos-scripts/files/usr/lib/qos/generate.sh
b/package/qos-scripts/files/usr/lib/qos/generate.sh
index a3c9f175c94eb2060c3f40ef2fdd4f76d9249895..64e2fc659335d26edeaddace48150e5d5ee6ca93 100755
(executable)
--- a/
package/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/
package/qos-scripts/files/usr/lib/qos/generate.sh
@@
-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