mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
snmp_v3: fix reported usmUserAuthProtocol for SHA
This commit is contained in:
parent
3aa82745c1
commit
1c5cc7bc02
@ -62,7 +62,7 @@ static const struct snmp_obj_id *snmp_auth_algo_to_oid(snmpv3_auth_algo_t algo)
|
||||
if (algo == SNMP_V3_AUTH_ALGO_MD5) {
|
||||
return &usmHMACMD5AuthProtocol;
|
||||
} else if (algo == SNMP_V3_AUTH_ALGO_SHA) {
|
||||
return &usmHMACMD5AuthProtocol;
|
||||
return &usmHMACSHAAuthProtocol;
|
||||
}
|
||||
|
||||
return &usmNoAuthProtocol;
|
||||
|
Loading…
Reference in New Issue
Block a user