Replies: 2 comments 5 replies
-
Can you please post the YANG module and ideally also a code example that can be compiled that reproduces the crash? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The code looks mostly fine and when I tested it, it worked as expected. So, I have made a few changes, but I have kept the same sr_acquire_context(sr_session_get_connection(sess)); What is |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create an XML path using lyd_new_path in libyang 3.4.2:
/module-name:module-list/listItem[id="1"]/name
My goal is to create the parent node first and then use it to create a child node.
I am using the following code to create the parent node:
However, I am encountering a segmentation fault, and the parent node is not being created successfully.
Issue:
Can anyone please help me understand the correct way to create a nested list using lyd_new_path?
Thanks in advance! 🙏
Beta Was this translation helpful? Give feedback.
All reactions