mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 03:44:31 +04:00
sqm-scripts: backport from trunk "Teach SQM hotplug tricks"
Backport from trunk the commit that adds support for hotplug action.
5b61cfba07
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
3
net/sqm-scripts/files/usr/lib/sqm/simple.qos
Normal file → Executable file
3
net/sqm-scripts/files/usr/lib/sqm/simple.qos
Normal file → Executable file
@@ -37,6 +37,9 @@ ipt -t mangle -A QOS_MARK_${IFACE} -m tos --tos Minimize-Delay -j MARK --set-ma
|
||||
|
||||
# Turn it on. Preserve classification if already performed
|
||||
|
||||
#sm: is it correct to do this in $IFACE? Should ingress not be on $DEV? since HTB acts on $DEV?
|
||||
# SQUASH also does not work on $DEV (that is the IFB will still see the incoming ToS bits whether we squash or not)
|
||||
# SQUASH is still useful to protect internal machines...
|
||||
if [ "$SQUASH_DSCP" = "1" ]
|
||||
then
|
||||
sqm_logger "Squashing differentiated services code points (DSCP) from ingress."
|
||||
|
||||
Reference in New Issue
Block a user