You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c688f56
Browse filesBrowse the repository at this point in the historyBrowse files
schema: fix if-feature str() failure with prefixed features
An if-feature can use a feature from an imported module, with the
prefix of that module. The parsed lookup only looked in the current
module and used the name with its prefix, so str() on such an
expression failed:
LibyangError: No feature dep:remote-feature in module
Remove the prefix from the name, and look in the imported module when
the prefix is not the one of the current module.
Fixes: 806be4c ("Port to libyang 2")
Closes: #174
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
0 commit comments