bsnmpd/tools/libbsnmptools: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
This commit is contained in:
parent
b8b97d31bd
commit
8b223768d1
@ -288,7 +288,7 @@ enum_pair_insert(struct enum_pairs *headp, int32_t enum_val, char *enum_str)
|
||||
/*
|
||||
* Insert an entry in a list - entries are lexicographicaly order by asn_oid.
|
||||
* Returns 1 on success, -1 if list is not initialized, 0 if a matching oid already
|
||||
* exists. Error cheking is left to calling function.
|
||||
* exists. Error checking is left to calling function.
|
||||
*/
|
||||
static int
|
||||
snmp_mapping_insert(struct snmp_mapping *headp, struct snmp_oid2str *entry)
|
||||
|
@ -39,14 +39,14 @@
|
||||
|
||||
/*
|
||||
* 11 bytes - octets that represent DateAndTime Textual convention
|
||||
* and the size of string used to diplay that.
|
||||
* and the size of string used to display that.
|
||||
*/
|
||||
#define SNMP_DATETIME_OCTETS 11
|
||||
#define SNMP_DATETIME_STRSZ 32
|
||||
|
||||
/*
|
||||
* 6 bytes - octets that represent PhysAddress Textual convention
|
||||
* and the size of string used to diplay that.
|
||||
* and the size of string used to display that.
|
||||
*/
|
||||
#define SNMP_PHYSADDR_OCTETS 6
|
||||
#define SNMP_PHYSADDR_STRSZ 19
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include "bsnmptc.h"
|
||||
#include "bsnmptools.h"
|
||||
|
||||
/* Internal varibale to turn on library debugging for testing and to
|
||||
/* Internal variable to turn on library debugging for testing and to
|
||||
* find bugs. It is not exported via the header file.
|
||||
* XXX should we cover it by some #ifdef BSNMPTOOLS_DEBUG? */
|
||||
int _bsnmptools_debug = 0;
|
||||
@ -1340,7 +1340,7 @@ snmp_suboid_pop(struct asn_oid *var)
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the command-line provided string into an OID - alocate memory for a new
|
||||
* Parse the command-line provided string into an OID - allocate memory for a new
|
||||
* snmp object, fill in its fields and insert it in the object list. A
|
||||
* (snmp_verify_inoid_f) function must be provided to validate the input string.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user