Replaced old LWIP_SNMPV3_GET_ENGINE_BOOTS macro.

Replaced old LWIP_SNMPV3_GET_ENGINE_BOOTS macro with the new snmpv3_get_engine_boots_internal function.
This commit is contained in:
Marco 2017-03-01 15:19:25 +01:00 committed by Dirk Ziegelmeier
parent a9bfe7b72f
commit ec044e826e

View File

@ -124,7 +124,7 @@ snmpv3_build_priv_param(u8_t* priv_param)
}
#else /* Based on RFC3414 */
static u32_t ctr;
u32_t boots = LWIP_SNMPV3_GET_ENGINE_BOOTS();
u32_t boots = snmpv3_get_engine_boots_internal();
SMEMCPY(&priv_param[0], &boots, 4);
SMEMCPY(&priv_param[4], &ctr, 4);
ctr++;