diff --git a/docs/settings.rst b/docs/settings.rst index 314c865a5cd1..8110b9f5fdad 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -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 diff --git a/pdns/trusted-notification-proxy.cc b/pdns/trusted-notification-proxy.cc index f851493de626..00a8cc37b66d 100644 --- a/pdns/trusted-notification-proxy.cc +++ b/pdns/trusted-notification-proxy.cc @@ -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()); } } }