Skip to content
Snippets Groups Projects
Commit 269ab387 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

qos-scripts: Allow classification by the traffic's source interface


This adds a "srciface" option that can be used on classification
rules in /etc/config/qos.  This is useful to allow prioritization
based on the local network from which the traffic originates, for
example to deprioritize traffic from a guest network.

Signed-off-by: default avatarMichael Marley <michael@michaelmarley.com>

SVN-Revision: 48446
parent b1f1b528
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment