mirror of
https://github.com/miekg/dns.git
synced 2025-08-18 15:36:57 +02:00
be more userfriendly
This commit is contained in:
parent
006fae01d1
commit
df57d1219e
@ -156,7 +156,7 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
if *tsig != "" {
|
if *tsig != "" {
|
||||||
a := strings.SplitN(*tsig, ":", 2)
|
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 != "" {
|
if *cpuprofile != "" {
|
||||||
f, err := os.Create(*cpuprofile)
|
f, err := os.Create(*cpuprofile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user