httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: httpd-2.0/server vhost.c
Date Sat, 16 Dec 2000 11:36:16 GMT
trawick     00/12/16 03:36:16

  Modified:    server   vhost.c
  Log:
  Fix a problem with the last commit...  I missed one of the hashing changes
  so some of the code had an unnecessary IPv4 assumption.
  
  Revision  Changes    Path
  1.45      +1 -1      httpd-2.0/server/vhost.c
  
  Index: vhost.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/vhost.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- vhost.c	2000/12/16 11:10:31	1.44
  +++ vhost.c	2000/12/16 11:36:16	1.45
  @@ -614,7 +614,7 @@
   		ic = find_ipaddr(sar->host_addr);
   
   		if (!ic) {
  -		    unsigned bucket = hash_inaddr(sar->host_addr->sa.sin.sin_addr.s_addr);
  +		    unsigned bucket = hash_addr(sar->host_addr);
   
   		    ic = new_ipaddr_chain(p, s, sar);
   		    ic->next = *iphash_table_tail[bucket];
  
  
  

Mime
View raw message