parent
7bced74f51
commit
ee3999303d
4 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ package file
|
|||
|
||||
import "github.com/miekg/dns"
|
||||
|
||||
// replaceWithWildcard replaces the left most label with '*'.
|
||||
// replaceWithAsteriskLabel replaces the left most label with '*'.
|
||||
func replaceWithAsteriskLabel(qname string) (wildcard string) {
|
||||
i, shot := dns.NextLabel(qname, 0)
|
||||
if shot {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue