Fixed: [clixon_netconf does not respond to hello #136](https://github.com/clicon/clixon/issues/136)

* The error showed only when CLICON_MODULE_LIBRARY_RFC7895 was disabled.
This commit is contained in:
Olof hagsand 2020-09-08 15:59:12 +02:00
parent 1ef3c0db7a
commit 5b5dce7e39
5 changed files with 29 additions and 13 deletions

View file

@ -1061,11 +1061,14 @@ clicon_rpc_debug(clicon_handle h,
return retval;
}
/*! Send a debug request to backend server
/*! Send a hello request to the backend server
* @param[in] h CLICON handle
* @param[in] level Debug level
* @retval 0 OK
* @retval -1 Error and logged to syslog
* @note this is internal netconf to backend, not northbound to user client
* @note this deviates from RFC6241 slightly in that it waits for a reply, the RFC does not
* stipulate that.
*/
int
clicon_hello_req(clicon_handle h,