--- gvpe/src/sockinfo.C 2005/03/03 16:54:34 1.15 +++ gvpe/src/sockinfo.C 2005/03/07 01:31:26 1.17 @@ -64,7 +64,9 @@ sockinfo::set (const conf_node *conf, u8 prot_) { if (prot_ == PROT_DNSv4) - set (conf->dns_hostname, conf->dns_hostname ? conf->dns_port : 0, prot_); + { + host = 0x01010101; port = htons (conf->id); prot = prot_; + } else set (conf->hostname, prot_ == PROT_UDPv4 ? conf->udp_port @@ -171,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;