Fixed: [snmpwalk doesn't show properly SNMP boolean values which equal false](https://github.com/clicon/clixon/issues/400)

This commit is contained in:
Olof hagsand 2023-01-16 12:00:08 +01:00
parent 0324135043
commit 3428f4d5ff
4 changed files with 10 additions and 8 deletions

View file

@ -525,6 +525,7 @@ main(int argc,
* used by the client, even though new TCP sessions are created for
* each message sent to the backend.
*/
clicon_data_set(h, "session-transport", "cl:snmp");
if (clicon_hello_req(h, "cl:snmp", NULL, &id) < 0)
goto done;
clicon_session_id_set(h, id);