commit | b962105d0c565ec6502e4241257e5cdf7d18576b | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Mar 18 18:27:49 2019 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Mon Mar 18 18:56:41 2019 +0100 |
tree | e2cb4bfb4de92dffaa0ad8050c45045fe0b42760 | |
parent | c0fd9f66f00bd51a3a872f9b40a8a47a419ed02c [diff] |
Fix ParserContext flag not properly resetting The m_topLevelModulePresent was not being properly reset when the starting slash of an absolute path was parsed. For example: /ietf-interfaces:interfaces> cd /i failed when trying to parse the "i". The parser thought that a top-level module was present, while, in fact, "/i" doesn't have a top-level module present. The flag is now properly being reset when parsing the starting slash of an absolute path. Bug: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/99 Change-Id: If5144cffcf55acbf869cf24a907d2c8c174724bd
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.