This commit is contained in:
padavanonly 2024-01-06 11:49:17 +08:00
parent 95998b024c
commit 050dcc872b
4 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{
"admin/services/eqos": {
"admin/newtwork/eqos": {
"title": "EQoS",
"action": {
"type": "view",

View File

@ -1,6 +1,6 @@
#!/bin/sh /etc/rc.common
START=99
START=25
USE_PROCD=1
service_triggers() {
@ -11,6 +11,6 @@ start_service() {
logger -t "switch_ctl" "restart mt753x all ports"
source "/usr/sbin/switch_ctl.sh"
sw_poweroff_ports "0 1 2 3 4"
sleep 3
sleep 2
sw_poweron_ports "0 1 2 3 4"
}

View File

@ -31,7 +31,7 @@ config dhcp lan
option start 100
option limit 150
option leasetime 12h
option force 1
config dhcp wan
option interface wan
option ignore 1

View File

@ -2166,6 +2166,8 @@ static void mtk_hnat_nf_update(struct sk_buff *skb)
counter = acct->counter;
atomic64_add(diff.packets, &counter[CTINFO2DIR(ctinfo)].packets);
atomic64_add(diff.bytes, &counter[CTINFO2DIR(ctinfo)].bytes);
atomic64_set(&counter[CTINFO2DIR(ctinfo)].diff_packets, diff.packets);
atomic64_set(&counter[CTINFO2DIR(ctinfo)].diff_bytes, diff.bytes);
}
}
}