Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Peter van Dijk <[email protected]>
  • Loading branch information
pieterlexis and Habbie authored Nov 12, 2020
1 parent 1886a4b commit ff320ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions pdns/trusted-notification-proxy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
}
Expand Down

0 comments on commit ff320ee

Please sign in to comment.