mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-04 21:39:49 +00:00
SNMP: fixed typo: snmp_set_sysdesr -> snmp_set_sysdescr
This commit is contained in:
parent
9975dbeded
commit
a15b28a24e
@ -933,7 +933,7 @@ void objectidncpy(s32_t *dst, s32_t *src, u8_t n)
|
||||
* @param str if non-NULL then copy str pointer
|
||||
* @param len points to string length, excluding zero terminator
|
||||
*/
|
||||
void snmp_set_sysdesr(u8_t *str, u8_t *len)
|
||||
void snmp_set_sysdescr(u8_t *str, u8_t *len)
|
||||
{
|
||||
if (str != NULL)
|
||||
{
|
||||
|
@ -98,7 +98,7 @@ struct snmp_obj_id
|
||||
};
|
||||
|
||||
/* system */
|
||||
void snmp_set_sysdesr(u8_t* str, u8_t* len);
|
||||
void snmp_set_sysdescr(u8_t* str, u8_t* len);
|
||||
void snmp_set_sysobjid(struct snmp_obj_id *oid);
|
||||
void snmp_get_sysobjid_ptr(struct snmp_obj_id **oid);
|
||||
void snmp_inc_sysuptime(void);
|
||||
@ -231,7 +231,7 @@ void snmp_get_snmpenableauthentraps(u8_t *value);
|
||||
#else
|
||||
|
||||
/* system */
|
||||
#define snmp_set_sysdesr(str, len)
|
||||
#define snmp_set_sysdescr(str, len)
|
||||
#define snmp_set_sysobjid(oid);
|
||||
#define snmp_get_sysobjid_ptr(oid)
|
||||
#define snmp_inc_sysuptime()
|
||||
|
Loading…
x
Reference in New Issue
Block a user