From: Jeff Trawick Date: Sat, 16 Dec 2000 11:36:16 +0000 (+0000) Subject: Fix a problem with the last commit... I missed one of the hashing changes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d22d1bd8cc3c8303ee6802fb530a82c196f20f1;p=apache Fix a problem with the last commit... I missed one of the hashing changes so some of the code had an unnecessary IPv4 assumption. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87367 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/vhost.c b/server/vhost.c index 94c236641e..914a7367a4 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -614,7 +614,7 @@ void ap_fini_vhost_config(apr_pool_t *p, server_rec *main_s) 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];