From 8c52853f0aee35605817c41f67561120cb9d0d24 Mon Sep 17 00:00:00 2001 From: Peter Valdez Date: Sun, 8 Mar 2015 21:53:16 -0400 Subject: [PATCH] Fix double period at end of tmpHostname. --- zone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone.go b/zone.go index 732f309..6f442c7 100644 --- a/zone.go +++ b/zone.go @@ -99,7 +99,7 @@ func NewMDNSService(instance, service, domain, hostName string, port int, ips [] if err != nil { // Try appending the host domain suffix and lookup again // (required for Linux-based hosts) - tmpHostName := fmt.Sprintf("%s%s.", hostName, domain) + tmpHostName := fmt.Sprintf("%s%s", hostName, domain) ips, err = net.LookupIP(tmpHostName)