mirror of
https://github.com/padavanonly/immortalwrt-mt798x.git
synced 2025-12-16 16:56:38 +00:00
sync
This commit is contained in:
parent
95998b024c
commit
050dcc872b
@ -1,5 +1,5 @@
|
||||
{
|
||||
"admin/services/eqos": {
|
||||
"admin/newtwork/eqos": {
|
||||
"title": "EQoS",
|
||||
"action": {
|
||||
"type": "view",
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user