Fix YangSchema::childNodes with paths with choice

YangSchema::childNodes, if called with a path with a choice segfaulted,
because it was using libyang in a different way, than the rest of the
class. childNodes now uses libyang consistenly with the rest of the
class.

Change-Id: I81f19114a3088994c552c1bb2fd9b4e3bc326196
3 files changed
tree: 59c2a33252d36d4d82a51cbf799c55175ed450c5
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. LICENSE.md
  8. README.md
  9. ci/
  10. cmake/
  11. docs/
  12. example-schema.yang
  13. kill_daemons.sh
  14. netopeer-test-config
  15. netopeer_vars.hpp.in
  16. src/
  17. start_daemons.sh.in
  18. submodules/
  19. tests/
README.md

Console interface to NETCONF servers

Credits

Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.