ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/sockinfo.C
(Generate patch)

Comparing gvpe/src/sockinfo.C (file contents):
Revision 1.16 by pcg, Sat Mar 5 19:13:15 2005 UTC vs.
Revision 1.17 by pcg, Mon Mar 7 01:31:26 2005 UTC

171 { 171 {
172 prot = prot_; 172 prot = prot_;
173 port = htons (conf->tcp_port); 173 port = htons (conf->tcp_port);
174 return true; 174 return true;
175 } 175 }
176
177#if ENABLE_DNS
178 if (conf
179 && prot_ & PROT_DNSv4
180 && conf->protocols & PROT_DNSv4
181 && conf->dns_port)
182 {
183 set (::conf.dns_forw_host, ::conf.dns_forw_port, prot_);
184 return true;
185 }
186#endif
187 } 176 }
188 177
189 return false; 178 return false;
190} 179}
191 180

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines