Add wifi_ssid and wifi_bssid route and DNS rules

This commit is contained in:
世界
2023-11-18 13:51:32 +08:00
parent 83f6e022bb
commit 0e50872d04
15 changed files with 170 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ func NewServer(ctx context.Context, router adapter.Router, logFactory log.Observ
func (s *Server) PreStart() error {
if s.cacheFilePath != "" {
cacheFile, err := cachefile.Open(s.cacheFilePath, s.cacheID)
cacheFile, err := cachefile.Open(s.ctx, s.cacheFilePath, s.cacheID)
if err != nil {
return E.Cause(err, "open cache file")
}