* Fixed: Initialized session-id to 1 instead of 0 following ietf-netconf.yang

* Clearer debug levels `clicon_debug()`:
  1: Logical debug message
  2: Input and output packets
  3: Message dump in hex, xpath parse trees
This commit is contained in:
Olof hagsand 2023-01-18 13:32:30 +01:00
parent 3428f4d5ff
commit 923b998774
17 changed files with 40 additions and 35 deletions

View file

@ -987,10 +987,6 @@ main(int argc,
/* Call start function is all plugins before we go interactive */
if (clixon_plugin_start_all(h) < 0)
goto done;
#if 1
/* XXX get session id from backend hello */
clicon_session_id_set(h, getpid());
#endif
/* Send hello request to backend to get session-id back
* This is done once at the beginning of the session and then this is