]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- More explicitly mention the type of ratelimit when applying ip-ratelimit.
authorRalph Dolmans <ralph@nlnetlabs.nl>
Tue, 4 Sep 2018 09:16:07 +0000 (09:16 +0000)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Tue, 4 Sep 2018 09:16:07 +0000 (09:16 +0000)
git-svn-id: file:///svn/unbound/trunk@4884 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/cache/infra.c

index 7e81304f930f668b7858bbdf46d602bbf54d421e..dea434ca8c1d07e0f8e9d0df0e9961a1bcc70e3b 100644 (file)
@@ -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.
 
index 6f8fea6ad826e35a21af77dd82f1d1d40a90c18b..489f939491d7f9c6d84a6100a1103fc69dc0db99 100644 (file)
@@ -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);
        }