all: fix typo

This commit is contained in:
Stanislav Chzhen 2023-10-27 17:24:38 +03:00
parent d6bca6b252
commit da28c1b508
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
### Added
- Ability to specify multiple domain specific upstreams per line e.g.
- Ability to specify multiple domain specific upstreams per line, e.g.
`[/domain1/../domain2/]upstream1 upstream2 .. upstreamN` ([#4977]).
### Fixed

View File

@ -818,8 +818,8 @@ func (s *Server) handleTestUpstreamDNS(w http.ResponseWriter, r *http.Request) {
defer log.OnPanic("dnsforward: checking upstreams")
res := s.checkDNS(upstreamLine, opts, check)
for u, e := range res {
m.Store(u, e)
for ups, status := range res {
m.Store(ups, status)
}
wg.Done()