Skip to content

Commit

Permalink
all: log changes, imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Jul 29, 2022
1 parent aa74c8b commit 8ea2417
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ and this project adheres to

### Added

- Domain-specific upstream servers test. Such test fails with an appropriate
warning message ([#4517]).
- Support for Discovery of Designated Resolvers (DDR) according to the [RFC
draft][ddr-draft] ([#4463]).
- `windows/arm64` support ([#3057]).
Expand All @@ -32,6 +34,7 @@ and this project adheres to

[#2993]: https://github.com/AdguardTeam/AdGuardHome/issues/2993
[#3057]: https://github.com/AdguardTeam/AdGuardHome/issues/3057
[#4517]: https://github.com/AdguardTeam/AdGuardHome/issues/4517

[ddr-draft]: https://datatracker.ietf.org/doc/html/draft-ietf-add-ddr-08

Expand Down
2 changes: 1 addition & 1 deletion internal/dnsforward/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ var protocols = []string{"udp://", "tcp://", "tls://", "https://", "sdns://", "q
// upstream configuration. useDefault is true if the upstream is
// domain-specific and is configured to point at the default upstream server
// which is validated separately. The upstream is considered domain-specific
// only if domains is nil.
// only if domains is at least not nil.
func validateUpstream(u string, domains []string) (useDefault bool, err error) {
// The special server address '#' means that default server must be used.
if useDefault = u == "#" && domains != nil; useDefault {
Expand Down

0 comments on commit 8ea2417

Please sign in to comment.