Skip to content

Commit

Permalink
Pull request 1761: home: fix panic
Browse files Browse the repository at this point in the history
Fixes #5573.

Squashed commit of the following:

commit daa1e65
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Tue Mar 7 14:28:27 2023 +0300

    home: fix panic
  • Loading branch information
ainar-g committed Mar 7, 2023
1 parent 057804a commit f23a0d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/home/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,12 @@ var config = &configuration{
TrustedProxies: []string{"127.0.0.0/8", "::1/128"},
CacheSize: 4 * 1024 * 1024,

EDNSClientSubnet: &dnsforward.EDNSClientSubnet{
CustomIP: "",
Enabled: false,
UseCustom: false,
},

// set default maximum concurrent queries to 300
// we introduced a default limit due to this:
// https://github.com/AdguardTeam/AdGuardHome/issues/2015#issuecomment-674041912
Expand Down

0 comments on commit f23a0d4

Please sign in to comment.