SNMP: fixed typo: snmp_set_sysdesr -> snmp_set_sysdescr

This commit is contained in:
Simon Goldschmidt 2014-01-14 21:49:33 +01:00
parent 9975dbeded
commit a15b28a24e
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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()