mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
Mediatek:Set ipv6 dscp value to 0 when enable hqos dscp tag
This commit is contained in:
parent
781e1a0b4f
commit
1bc376d339
@ -34,6 +34,8 @@ case "$1" in
|
||||
sed -i '/\/etc\/init.d\/eqos start/d' /etc/firewall.user
|
||||
iptables -t mangle -D FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
iptables -t mangle -D FORWARD -o br-lan -j DSCP --set-dscp 0
|
||||
ip6tables -t mangle -D FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
ip6tables -t mangle -D FORWARD -o br-lan -j DSCP --set-dscp 0
|
||||
echo "10 0" > /sys/kernel/debug/hnat/hnat_setting
|
||||
for i in $(seq 0 7); do
|
||||
echo 0 0 0 0 0 0 0 > $hqos_path/qdma_txq$i
|
||||
@ -44,6 +46,10 @@ case "$1" in
|
||||
;;
|
||||
"start")
|
||||
stop_qos
|
||||
ip6tables -t mangle -D FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
ip6tables -t mangle -D FORWARD -o br-lan -j DSCP --set-dscp 0
|
||||
ip6tables -t mangle -A FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
ip6tables -t mangle -A FORWARD -o br-lan -j DSCP --set-dscp 0
|
||||
iptables -t mangle -D FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
iptables -t mangle -D FORWARD -o br-lan -j DSCP --set-dscp 0
|
||||
iptables -t mangle -A FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user