be more userfriendly

This commit is contained in:
Miek Gieben 2012-10-12 15:22:59 +02:00
parent 006fae01d1
commit df57d1219e

View File

@ -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)