client session BUGFIX parse rpc with correct flags
diff --git a/src/session_client.c b/src/session_client.c
index f3cb53e..15952d1 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -1276,7 +1276,7 @@
         if (rpc_gen->has_data) {
             data = rpc_gen->content.data;
         } else {
-            data = lyd_parse_mem(session->ctx, rpc_gen->content.xml_str, LYD_XML, LYD_OPT_STRICT);
+            data = lyd_parse_mem(session->ctx, rpc_gen->content.xml_str, LYD_XML, LYD_OPT_RPC | LYD_OPT_STRICT);
         }
         break;