pull/18/head
Hugo Landau 10 years ago
parent 54d2ee1ff0
commit b3ff2d655a

@ -63,6 +63,7 @@ func NewServer(cfg *ServerConfig) (s *Server, err error) {
s.cfg.canonicalNameservers[i] = dns.Fqdn(s.cfg.canonicalNameservers[i])
}
if s.cfg.VanityIPs != "" {
vanityIPs := strings.Split(s.cfg.VanityIPs, ",")
for _, ips := range vanityIPs {
ip := net.ParseIP(ips)
@ -71,6 +72,7 @@ func NewServer(cfg *ServerConfig) (s *Server, err error) {
}
s.cfg.vanityIPs = append(s.cfg.vanityIPs, ip)
}
}
s.namecoinConn = namecoin.Conn{
Username: cfg.NamecoinRPCUsername,

Loading…
Cancel
Save