data tree REFACTOR remove support for NETCONF op encoding
... for now. Support only our own representation.
diff --git a/src/in.c b/src/in.c
index 279c54d..26f4226 100644
--- a/src/in.c
+++ b/src/in.c
@@ -386,7 +386,7 @@
}
if (snode->nodetype & (LYS_RPC | LYS_ACTION)) {
- if (lydctx->int_opts & LYD_INTOPT_RPC) {
+ if (lydctx->int_opts & (LYD_INTOPT_RPC | LYD_INTOPT_REPLY)) {
if (lydctx->op_node) {
LOGVAL(lydctx->data_ctx->ctx, LY_VLOG_LYSC, snode, LYVE_DATA, "Unexpected %s element \"%s\", %s \"%s\" already parsed.",
lys_nodetype2str(snode->nodetype), snode->name,