From a627d88e3fafe0f560ac6657492f978e533248a3 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 8 Jan 2014 10:11:19 +0000 Subject: [PATCH] Remove stale comments --- clientconfig.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/clientconfig.go b/clientconfig.go index 32d3fca7..cf879b7d 100644 --- a/clientconfig.go +++ b/clientconfig.go @@ -50,14 +50,7 @@ func ClientConfigFromFile(conf string) (*ClientConfig, error) { // just an IP address. Otherwise we need DNS // to look it up. name := f[1] - // Don't use this. net.JoinHostPort will fix this for you - // switch x := net.ParseIP(name); true { - // case x.To4() != nil: - // c.Servers = append(c.Servers, name) - // case x.To16() != nil: - // name = "[" + name + "]" c.Servers = append(c.Servers, name) - // } } case "domain": // set search path to just this domain