]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review 9713/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 12 Nov 2020 16:06:07 +0000 (17:06 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Nov 2020 16:06:07 +0000 (17:06 +0100)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
docs/settings.rst
pdns/trusted-notification-proxy.cc

index 314c865a5cd1369238b417ea39ca1d869dd56d6e..8110b9f5fdad6c489d9fbe266f67d70cf9322edd 100644 (file)
@@ -1724,7 +1724,7 @@ Enable the Linux-only traceback handler.
 ------------------------------
 
 .. versionchanged:: 4.4.0
-   This option now accepts a comma-separated list of IP ranges. This was a single IP address as a string before
+   This option now accepts a comma-separated list of IP ranges. This was a list of IP addresses before.
 
 -  IP ranges, separated by commas
 
index f851493de6263b2848326e9f039db05a6817edb0..00a8cc37b66d9be56fab08cfc797340527d2d31a 100644 (file)
@@ -33,9 +33,9 @@ namespace pdns {
       try {
         g_trustedNotificationProxies.addMask(Netmask(a));
       } catch (const PDNSException &e) {
-        throw PDNSException("Unable to add address " + a + " as a trusted-notification-proxy: " + e.reason);
+        throw PDNSException("Unable to add network " + a + " as a trusted-notification-proxy: " + e.reason);
       } catch (const std::exception &e) {
-        throw PDNSException("Unable to add address " + a + " as a trusted-notification-proxy: " + e.what());
+        throw PDNSException("Unable to add network " + a + " as a trusted-notification-proxy: " + e.what());
       }
     }
   }