From d2c632fb18ad2bfc5de9187272282d153c5ff73a Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 14 Apr 2010 19:13:35 +0000 Subject: [PATCH] patch #7145: Various typos in SNMP files --- doc/snmp_agent.txt | 4 ++-- src/core/snmp/mib_structs.c | 2 +- src/include/lwip/snmp_structs.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/snmp_agent.txt b/doc/snmp_agent.txt index 9b58616a..2653230f 100644 --- a/doc/snmp_agent.txt +++ b/doc/snmp_agent.txt @@ -46,7 +46,7 @@ Loading additional MIBs Large SNMP message support The packet decoding and encoding routines are designed - to use pbuf-chains. Larger payloads then the minimum + to use pbuf-chains. Larger payloads than the minimum SNMP requirement of 484 octets are supported if the PBUF_POOL_SIZE and IP_REASS_BUFSIZE are set to match your local requirement. @@ -170,7 +170,7 @@ resembles the "auto-completion" operation) The middle part is usually located in ROM (const) to preserve precious RAM on small microcontrollers. -However RAM location is possible for an dynamically +However RAM location is possible for a dynamically changing private tree. The index part is handled by functions which in diff --git a/src/core/snmp/mib_structs.c b/src/core/snmp/mib_structs.c index a2d146c8..2f185cb4 100644 --- a/src/core/snmp/mib_structs.c +++ b/src/core/snmp/mib_structs.c @@ -445,7 +445,7 @@ snmp_mib_node_delete(struct mib_list_rootnode *rn, struct mib_list_node *n) * @param node points to the root of the tree ('.internet') * @param ident_len the length of the supplied object identifier * @param ident points to the array of sub identifiers - * @param np points to the found object instance (rerurn) + * @param np points to the found object instance (return) * @return pointer to the requested parent (!) node if success, NULL otherwise */ struct mib_node * diff --git a/src/include/lwip/snmp_structs.h b/src/include/lwip/snmp_structs.h index 13ea7401..0d3b46a9 100644 --- a/src/include/lwip/snmp_structs.h +++ b/src/include/lwip/snmp_structs.h @@ -136,7 +136,7 @@ struct mib_array_node u8_t node_type; u16_t maxlength; - /* aditional struct members */ + /* additional struct members */ const s32_t *objid; struct mib_node* const *nptr; }; @@ -180,7 +180,7 @@ struct mib_list_rootnode u8_t node_type; u16_t maxlength; - /* aditional struct members */ + /* additional struct members */ struct mib_list_node *head; struct mib_list_node *tail; /* counts list nodes in list */ @@ -200,8 +200,8 @@ struct mib_external_node u8_t node_type; u16_t maxlength; - /* aditional struct members */ - /** points to an extenal (in memory) record of some sort of addressing + /* additional struct members */ + /** points to an external (in memory) record of some sort of addressing information, passed to and interpreted by the funtions below */ void* addr_inf; /** tree levels under this node */