be more userfriendly

This commit is contained in:
Miek Gieben 2012-10-12 15:22:59 +02:00
parent 006fae01d1
commit df57d1219e
1 changed files with 1 additions and 1 deletions

View File

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