From 50b7b2113ecea1934362b608c38275cee0c3415f Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 27 Jun 2017 15:23:17 +0000 Subject: [PATCH] - Fix that infra cache host hash does not change after reconfig. git-svn-id: file:///svn/unbound/trunk@4252 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/daemon.c | 2 +- doc/Changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/daemon.c b/daemon/daemon.c index dad9f86b3..e8d56aec9 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -421,8 +421,8 @@ daemon_create_workers(struct daemon* daemon) daemon->rand = ub_initstate(seed, NULL); if(!daemon->rand) fatal_exit("could not init random generator"); + hash_set_raninit((uint32_t)ub_random(daemon->rand)); } - hash_set_raninit((uint32_t)ub_random(daemon->rand)); shufport = (int*)calloc(65536, sizeof(int)); if(!shufport) fatal_exit("out of memory during daemon init"); diff --git a/doc/Changelog b/doc/Changelog index 500dd3e2d..e3cf66431 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,7 @@ - Tag 1.6.4 is created with the 1.6.4rc2 contents. - Trunk contains 1.6.5, with changes from 26, 27 june. - Remove signed unsigned warning from authzone. + - Fix that infra cache host hash does not change after reconfig. 26 June 2017: Wouter - (for 1.6.5) -- 2.47.3