Skip to content

Commit 31dd4c5

Browse files
committed
client session CHANGE verbose messages about get-schema/yanglib support
1 parent cd40191 commit 31dd4c5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/session_client.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,16 @@ nc_ctx_check_and_fill(struct nc_session *session)
10111011
}
10121012
}
10131013
}
1014+
if (get_schema_support) {
1015+
VRB("Session %u: capability for <get-schema> support found.", session->id);
1016+
} else {
1017+
VRB("Session %u: capability for <get-schema> support not found.", session->id);
1018+
}
1019+
if (yanglib_support) {
1020+
VRB("Session %u: capability for yang-library support found.", session->id);
1021+
} else {
1022+
VRB("Session %u: capability for yang-library support not found.", session->id);
1023+
}
10141024

10151025
/* get information about server's schemas from capabilities list until we will have yang-library */
10161026
if (build_schema_info_cpblts(session->opts.client.cpblts, &server_modules) || !server_modules) {

0 commit comments

Comments
 (0)