Skip to content

Commit

Permalink
all: imp code, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Apr 20, 2021
1 parent 8e3655f commit 4b596e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ and this project adheres to

### Changed

- Version of dnsproxy library ([#2843]).
- Our QUIC implementation is now updated to conform to the latest DNS-over-QUIC
implementation standard [draft][quic-draft] ([#2843]).
- Quality of logging ([#2954]).
- Normalization of hostnames sent by DHCP clients ([#2945], [#2952]).
- The access to the private hosts is now forbidden for users from external
Expand Down Expand Up @@ -89,6 +90,8 @@ and this project adheres to
[#2954]: https://github.com/AdguardTeam/AdGuardHome/issues/2954
[#2961]: https://github.com/AdguardTeam/AdGuardHome/issues/2961

[quic-draft]: https://tools.ietf.org/html/draft-ietf-dprive-dnsoquic-02



## [v0.105.2] - 2021-03-10
Expand Down
2 changes: 1 addition & 1 deletion internal/home/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func upgradeSchema7to8(diskConf yobj) (err error) {
bindHostVal := dns["bind_host"]
bindHost, ok := bindHostVal.(string)
if !ok {
return fmt.Errorf("undexpected type of dns.bind_host: %T", bindHostVal)
return fmt.Errorf("unexpected type of dns.bind_host: %T", bindHostVal)
}

delete(dns, "bind_host")
Expand Down
3 changes: 1 addition & 2 deletions internal/home/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ func testDNSConf(schemaVersion int) (dnsConf yobj) {
}

func TestAddQUICPort(t *testing.T) {
const port = 784
testCases := []struct {
name string
ups string
Expand Down Expand Up @@ -289,7 +288,7 @@ func TestAddQUICPort(t *testing.T) {

for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
withPort := addQUICPort(tc.ups, port)
withPort := addQUICPort(tc.ups, 784)

assert.Equal(t, tc.want, withPort)
})
Expand Down

0 comments on commit 4b596e4

Please sign in to comment.