diff --git a/openwrt/files/luci/statistics.htm b/openwrt/files/luci/statistics.htm index c4c840c..3b8591d 100644 --- a/openwrt/files/luci/statistics.htm +++ b/openwrt/files/luci/statistics.htm @@ -12,7 +12,7 @@ if rewrite_stats_file then end local pass_stats = {} -local pass_stats_file = io.open("/var/log/ua3f/passthrough_stats", "r") +local pass_stats_file = io.open("/var/log/ua3f/pass_stats", "r") if pass_stats_file then for line in pass_stats_file:lines() do local host, count, ua = line:match("^(%S+)%s(%d+)%s(.+)$") diff --git a/src/internal/statistics/pass.go b/src/internal/statistics/pass.go index 78e575f..a19b71b 100644 --- a/src/internal/statistics/pass.go +++ b/src/internal/statistics/pass.go @@ -8,7 +8,7 @@ import ( "github.com/sirupsen/logrus" ) -const passthroughStatsFile = "/var/log/ua3f/passthrough_stats" +const passthroughStatsFile = "/var/log/ua3f/pass_stats" type PassThroughRecord struct { Host string