mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Add resolvers in device's network to LAN resolvers
This commit is contained in:
parent
3d69216c27
commit
b4133cb3dd
1 changed files with 2 additions and 0 deletions
|
@ -479,6 +479,8 @@ func setScopedResolvers(resolvers []*Resolver) {
|
|||
for _, resolver := range resolvers {
|
||||
if resolver.Info.IPScope.IsLAN() {
|
||||
localResolvers = append(localResolvers, resolver)
|
||||
} else if _, err := netenv.GetLocalNetwork(resolver.Info.IP); err != nil {
|
||||
localResolvers = append(localResolvers, resolver)
|
||||
}
|
||||
|
||||
if resolver.Info.Source == ServerSourceOperatingSystem {
|
||||
|
|
Loading…
Add table
Reference in a new issue