summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorDavid Lin <[email protected]>2020-02-16 17:07:34 +0800
committerGitHub <[email protected]>2020-02-16 17:07:34 +0800
commit812d3d2833dea146d5a05ef5a694eb57d0adf2c1 (patch)
tree1610c7e5a24015ddce14211b4de4e034db4b0bcf /components
parentdd5178efdfa8ad6943459c1284237509a78c3367 (diff)
Fixed typo: 'lenght'
Note that the word 'lenght' is wrong, so that 'lenght' should been replaced with 'length'.
Diffstat (limited to 'components')
-rw-r--r--components/net/lwip-1.4.1/src/core/snmp/msg_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/lwip-1.4.1/src/core/snmp/msg_out.c b/components/net/lwip-1.4.1/src/core/snmp/msg_out.c
index 485f076a53..d5f0937632 100644
--- a/components/net/lwip-1.4.1/src/core/snmp/msg_out.c
+++ b/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)