Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
------------------------------
.. 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
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());
}
}
}