Skip to content

Commit

Permalink
update priv
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Nov 9, 2023
1 parent 1e041fd commit 66e15d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tmx/TmxUtils/src/SNMPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace tmx::utils
session.securityAuthProto = usmHMACSHA1AuthProtocol;
session.securityAuthProtoLen = USM_AUTH_PROTO_SHA_LEN;
session.securityAuthKeyLen = USM_AUTH_KU_LEN;
if(session.securityLevel == SNMP_SEC_LEVEL_AUTHNOPRIV)
if(session.securityLevel != SNMP_SEC_LEVEL_NOAUTH)
{
if (generate_Ku(session.securityAuthProto,
session.securityAuthProtoLen,
Expand Down

0 comments on commit 66e15d4

Please sign in to comment.