Commit 4d22d1bd authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 8ac2466e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];