Re: dnsserver problems

From: Adrian Pavlykevych <pam@dont-contact.us>
Date: Wed, 2 Apr 1997 10:07:06 +0200

On 1 Apr 97 at 10:29, squid-users-digest-request@nl wrote:

There is bug in dnsserver.c which treats any hostname as IP address and
tries only revers lookup, which, of course, fails.

I have posted patch couple of weeks ago.
Here it is again
Adrian Pavlykevych | State University "Lvivska Polytechnica"
System Administrator | 12, St. Bandery str,
Campus Computer Network | Lviv, 290646
email: pam@polynet.lviv.ua | Ukraine
tel/fax:+380 (322) 742041 |

*** dnsserver.c Sat Mar 15 15:55:50 1997
--- dnsserver.c.old Sat Mar 15 15:55:22 1997
***************
*** 227,233 ****
  #endif /* _SQUID_NEXT_ */
  
  static int do_debug = 0;
! static unsigned int inaddr_none;
  
  /* error messages from gethostbyname() */
  static char *
--- 227,233 ----
  #endif /* _SQUID_NEXT_ */
  
  static int do_debug = 0;
! static int inaddr_none;
  
  /* error messages from gethostbyname() */
  static char *
Received on Tue Apr 01 1997 - 23:17:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:55 MST