2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#1077] throw Unexpected in NetconfAgent::init

This commit is contained in:
Andrei Pavel
2021-07-22 21:16:41 +03:00
committed by Tomek Mrugalski
parent d4b03fe8b0
commit 1bb2fa1262

View File

@@ -134,7 +134,7 @@ void
NetconfAgent::init(NetconfCfgMgrPtr cfg_mgr) { NetconfAgent::init(NetconfCfgMgrPtr cfg_mgr) {
// Check for a configuration manager. // Check for a configuration manager.
if (!cfg_mgr) { if (!cfg_mgr) {
isc_throw(BadValue, "missing configuration for kea-netconf"); isc_throw(Unexpected, "missing configuration manager");
return; return;
} }
const CfgServersMapPtr& servers = const CfgServersMapPtr& servers =