mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 02:05:43 +00:00
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:
parent
a9bfe7b72f
commit
ec044e826e
@ -124,7 +124,7 @@ snmpv3_build_priv_param(u8_t* priv_param)
|
|||||||
}
|
}
|
||||||
#else /* Based on RFC3414 */
|
#else /* Based on RFC3414 */
|
||||||
static u32_t ctr;
|
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[0], &boots, 4);
|
||||||
SMEMCPY(&priv_param[4], &ctr, 4);
|
SMEMCPY(&priv_param[4], &ctr, 4);
|
||||||
ctr++;
|
ctr++;
|
||||||
|
Loading…
Reference in New Issue
Block a user