Merge pull request #3376 from DavidLin1577/patch-4

Fixed typo: 'lenght'
This commit is contained in:
Bernard Xiong 2020-02-17 12:09:21 +08:00 committed by GitHub
commit 1e50355534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ snmp_authfail_trap(void)
* *
* @param vb_len varbind-list length * @param vb_len varbind-list length
* @param rhl points to returned header lengths * @param rhl points to returned header lengths
* @return the required lenght for encoding the response header * @return the required length for encoding the response header
*/ */
static u16_t static u16_t
snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len) snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len)
@ -353,7 +353,7 @@ snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len)
* *
* @param vb_len varbind-list length * @param vb_len varbind-list length
* @param thl points to returned header lengths * @param thl points to returned header lengths
* @return the required lenght for encoding the trap header * @return the required length for encoding the trap header
*/ */
static u16_t static u16_t
snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len) snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len)