Browse Source

Merge pull request #3376 from DavidLin1577/patch-4

Fixed typo: 'lenght'
Bernard Xiong 5 years ago
parent
commit
1e50355534
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/net/lwip-1.4.1/src/core/snmp/msg_out.c

+ 2 - 2
components/net/lwip-1.4.1/src/core/snmp/msg_out.c

@@ -306,7 +306,7 @@ snmp_authfail_trap(void)
  *
  * @param vb_len varbind-list length
  * @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
 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 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
 snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len)