summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files/usr/lib/qos/tcrules.awk
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-03 19:11:01 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-03 19:11:01 +0000
commite9f3a660c584c1c48c2408f55b5f71c1ed52cbc0 (patch)
tree01912d33c0132f7548f788f79ebac2ac3c79d7e3 /package/qos-scripts/files/usr/lib/qos/tcrules.awk
parentfd137ce03112745d32ad18e95b942319c92f12eb (diff)
[package] qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28731 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/qos-scripts/files/usr/lib/qos/tcrules.awk')
-rw-r--r--package/qos-scripts/files/usr/lib/qos/tcrules.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qos-scripts/files/usr/lib/qos/tcrules.awk b/package/qos-scripts/files/usr/lib/qos/tcrules.awk
index 90b4212e72..0021eaa7ce 100644
--- a/package/qos-scripts/files/usr/lib/qos/tcrules.awk
+++ b/package/qos-scripts/files/usr/lib/qos/tcrules.awk
@@ -122,7 +122,7 @@ END {
# filter rule
for (i = 1; i <= n; i++) {
- print "tc filter add dev "device" parent 1: prio "class[i]" protocol ip handle "class[i]" fw flowid 1:"class[i] "0"
+ print "tc filter add dev "device" parent 1: prio "class[i]" protocol ip handle "class[i]"/0xff fw flowid 1:"class[i] "0"
filterc=1
if (filter[i] != "") {
print " tc filter add dev "device" parent "class[i]"00: handle "filterc"0 "filter[i]