--- gvpe/src/sockinfo.C 2005/03/05 19:13:15 1.16 +++ gvpe/src/sockinfo.C 2005/03/18 02:32:20 1.20 @@ -65,7 +65,7 @@ { if (prot_ == PROT_DNSv4) { - host = 0x01010101; port = htons (conf->id); prot = prot_; + host = htonl (conf->id); port = 0; prot = prot_; } else set (conf->hostname, @@ -173,17 +173,6 @@ port = htons (conf->tcp_port); return true; } - -#if ENABLE_DNS - if (conf - && prot_ & PROT_DNSv4 - && conf->protocols & PROT_DNSv4 - && conf->dns_port) - { - set (::conf.dns_forw_host, ::conf.dns_forw_port, prot_); - return true; - } -#endif } return false;