commit | fbf22b9903be0ad92043a746a1b627c8fc0ab7a0 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Sun Dec 17 22:43:33 2023 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Sun Dec 17 22:45:47 2023 +0100 |
tree | ecb1e8d72a1ecd5d255b24274ea3ba4edefb04c8 | |
parent | 7b92e48c6fbdb6c109e49c7422e22604b216324b [diff] |
Adapt to API/ABI change in libyang-cpp Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/6717 Change-Id: I914baa2470c9f6c6ff86a16551108aea4a0d822c
diff --git a/src/yang_schema.cpp b/src/yang_schema.cpp index 2f046c7..4209b2a 100644 --- a/src/yang_schema.cpp +++ b/src/yang_schema.cpp
@@ -93,7 +93,7 @@ } } try { - return m_context.findPath(node, libyang::OutputNodes::Yes); + return m_context.findPath(node, libyang::InputOutputNodes::Output); } catch (libyang::ErrorWithCode& err) { if (err.code() != libyang::ErrorCode::ValidationFailure) { throw;