session UPDATE automatic schema-mount support
diff --git a/src/session_client_ssh.c b/src/session_client_ssh.c
index de0c1df..bd172e8 100644
--- a/src/session_client_ssh.c
+++ b/src/session_client_ssh.c
@@ -50,7 +50,6 @@
#include "session_client_ch.h"
struct nc_client_context *nc_client_context_location(void);
-int nc_session_new_ctx(struct nc_session *session, struct ly_ctx *ctx);
#define client_opts nc_client_context_location()->opts
#define ssh_opts nc_client_context_location()->ssh_opts
@@ -1609,7 +1608,7 @@
* SSH session is established and netconf channel opened, create a NETCONF session. (Application layer)
*/
- if (nc_session_new_ctx(session, ctx) != EXIT_SUCCESS) {
+ if (nc_client_session_new_ctx(session, ctx) != EXIT_SUCCESS) {
goto fail;
}
ctx = session->ctx;
@@ -1709,7 +1708,7 @@
goto fail;
}
- if (nc_session_new_ctx(session, ctx) != EXIT_SUCCESS) {
+ if (nc_client_session_new_ctx(session, ctx) != EXIT_SUCCESS) {
goto fail;
}
ctx = session->ctx;
@@ -1787,7 +1786,7 @@
}
nc_session_io_unlock(new_session, __func__);
- if (nc_session_new_ctx(new_session, ctx) != EXIT_SUCCESS) {
+ if (nc_client_session_new_ctx(new_session, ctx) != EXIT_SUCCESS) {
goto fail;
}
ctx = session->ctx;