projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qos-scripts: Allow classification by the traffic's source interface
[openwrt.git]
/
package
/
network
/
config
/
qos-scripts
/
files
/
usr
/
lib
/
qos
/
generate.sh
diff --git
a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
index
b6f69da
..
3a0525d
100755
(executable)
--- a/
package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/
package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
@@
-141,6
+141,9
@@
parse_matching_rule() {
append "$var" "-i $device"
fi
;;
+ *:srciface)
+ append "$var" "-i $value"
+ ;;
1:pktsize)
value="$(echo "$value" | sed -e 's,-,:,g')"
add_insmod xt_length