Skip to content

Commit

Permalink
all: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Jan 17, 2024
1 parent 46aeca7 commit d16da0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/home/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func parseSubnetSet(nets []netutil.Prefix) (s netutil.SubnetSet) {
// Use an optimized function-based matcher.
return netutil.SubnetSetFunc(netutil.IsLocallyServed)
case 1:
return nets[0]
return nets[0].Prefix
default:
return netutil.SliceSubnetSet(netutil.UnembedPrefixes(nets))
}
Expand Down

0 comments on commit d16da0c

Please sign in to comment.