From 987c1c97e5400e9a41a223c0583fcd4443a67334 Mon Sep 17 00:00:00 2001 From: Ralph Dolmans Date: Tue, 4 Sep 2018 09:16:07 +0000 Subject: [PATCH] - More explicitly mention the type of ratelimit when applying ip-ratelimit. git-svn-id: file:///svn/unbound/trunk@4884 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 4 ++++ services/cache/infra.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 7e81304f9..dea434ca8 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +4 September 2018: Ralph + - More explicitly mention the type of ratelimit when applying + ip-ratelimit. + 4 September 2018: Wouter - Tag for 1.8.0rc1 release. diff --git a/services/cache/infra.c b/services/cache/infra.c index 6f8fea6ad..489f93949 100644 --- a/services/cache/infra.c +++ b/services/cache/infra.c @@ -1013,8 +1013,8 @@ int infra_ip_ratelimit_inc(struct infra_cache* infra, char client_ip[128]; addr_to_str((struct sockaddr_storage *)&repinfo->addr, repinfo->addrlen, client_ip, sizeof(client_ip)); - verbose(VERB_OPS, "ratelimit exceeded %s %d", client_ip, - infra_ip_ratelimit); + verbose(VERB_OPS, "ip_ratelimit exceeded %s %d", + client_ip, infra_ip_ratelimit); } return (max <= infra_ip_ratelimit); }