mirror of
https://github.com/miekg/dns.git
synced 2025-08-18 23:41:00 +02:00
be more userfriendly
This commit is contained in:
parent
006fae01d1
commit
df57d1219e
@ -156,7 +156,7 @@ func main() {
|
||||
flag.Parse()
|
||||
if *tsig != "" {
|
||||
a := strings.SplitN(*tsig, ":", 2)
|
||||
name, secret = a[0], a[1]
|
||||
name, secret = dns.Fqdn(a[0]), a[1] // fqdn the name, which everybody forgets...
|
||||
}
|
||||
if *cpuprofile != "" {
|
||||
f, err := os.Create(*cpuprofile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user