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

[#1944] Compilation fix

This commit is contained in:
Tomek Mrugalski
2021-08-20 14:46:40 +02:00
committed by Andrei Pavel
parent b0a71c0be7
commit 6bedc67d5a
2 changed files with 3 additions and 3 deletions

View File

@@ -790,7 +790,7 @@ TranslatorConfig::setServerKeaDhcp4(ConstElementPtr elem) {
if (auth) {
setItem(xpath + "/authoritative", auth, SR_BOOL_T);
}
checkAndSetLeaf(elem, xpath, "store-extended-info", SR_BOOLEAN_T);
checkAndSetLeaf(elem, xpath, "store-extended-info", SR_BOOL_T);
}
void
@@ -882,7 +882,7 @@ TranslatorConfig::setServerKeaDhcp6(ConstElementPtr elem) {
setItem(xpath + "/server-id/user-context", repr, SR_STRING_T);
}
}
checkAndSetLeaf(elem, xpath, "store-extended-info", SR_BOOLEAN_T);
checkAndSetLeaf(elem, xpath, "store-extended-info", SR_BOOL_T);
}
} // namespace yang

View File

@@ -406,7 +406,7 @@ TranslatorSubnet::setSubnetKea(const string& xpath, ConstElementPtr elem) {
}
}
}
checkAndSetLeaf(elem, xpath, "store-extended-info", SR_BOOLEAN_T);
checkAndSetLeaf(elem, xpath, "store-extended-info", SR_BOOL_T);
if (model_ == KEA_DHCP4_SERVER) {
ConstElementPtr match = elem->get("match-client-id");
if (match) {