Skip to content

Commit

Permalink
dnsforward, home: imp more
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Apr 26, 2024
1 parent 10f11b9 commit b18fe84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/dnsforward/stats.go
Expand Up @@ -130,7 +130,7 @@ func (s *Server) logQuery(dctx *dnsContext, ip net.IP, processingTime time.Durat
s.queryLog.Add(p)
}

// updateStats writes the request into statistics.
// updateStats writes the request data into statistics.
func (s *Server) updateStats(dctx *dnsContext, clientIP string, processingTime time.Duration) {
pctx := dctx.proxyCtx

Expand Down
4 changes: 2 additions & 2 deletions internal/home/service.go
Expand Up @@ -306,7 +306,7 @@ func handleServiceStatusCommand(s service.Service) {
}
}

// handleServiceInstallCommand handles service "install" command
// handleServiceInstallCommand handles service "install" command.
func handleServiceInstallCommand(s service.Service) {
err := svcAction(s, "install")
if err != nil {
Expand Down Expand Up @@ -340,7 +340,7 @@ AdGuard Home is now available at the following addresses:`)
}
}

// handleServiceUninstallCommand handles service "uninstall" command
// handleServiceUninstallCommand handles service "uninstall" command.
func handleServiceUninstallCommand(s service.Service) {
if aghos.IsOpenWrt() {
// On OpenWrt it is important to run disable command first
Expand Down

0 comments on commit b18fe84

Please sign in to comment.