mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-08-17 06:30:37 +03:00
Pull request 2213: 6902-doc-fix
Updates #6902. * commit 'b18fe84c5c87a87246afc1fe06aeeeca472ffc67': dnsforward, home: imp more chore: fix function names in comment
This commit is contained in:
commit
2383ab57c6
@ -130,7 +130,7 @@ func (s *Server) logQuery(dctx *dnsContext, ip net.IP, processingTime time.Durat
|
|||||||
s.queryLog.Add(p)
|
s.queryLog.Add(p)
|
||||||
}
|
}
|
||||||
|
|
||||||
// updatesStats writes the request into statistics.
|
// updateStats writes the request data into statistics.
|
||||||
func (s *Server) updateStats(dctx *dnsContext, clientIP string, processingTime time.Duration) {
|
func (s *Server) updateStats(dctx *dnsContext, clientIP string, processingTime time.Duration) {
|
||||||
pctx := dctx.proxyCtx
|
pctx := dctx.proxyCtx
|
||||||
|
|
||||||
|
@ -306,7 +306,7 @@ func handleServiceStatusCommand(s service.Service) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleServiceStatusCommand handles service "install" command
|
// handleServiceInstallCommand handles service "install" command.
|
||||||
func handleServiceInstallCommand(s service.Service) {
|
func handleServiceInstallCommand(s service.Service) {
|
||||||
err := svcAction(s, "install")
|
err := svcAction(s, "install")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -340,7 +340,7 @@ AdGuard Home is now available at the following addresses:`)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleServiceStatusCommand handles service "uninstall" command
|
// handleServiceUninstallCommand handles service "uninstall" command.
|
||||||
func handleServiceUninstallCommand(s service.Service) {
|
func handleServiceUninstallCommand(s service.Service) {
|
||||||
if aghos.IsOpenWrt() {
|
if aghos.IsOpenWrt() {
|
||||||
// On OpenWrt it is important to run disable command first
|
// On OpenWrt it is important to run disable command first
|
||||||
|
Loading…
Reference in New Issue
Block a user