Clean up formatting.
Submitted by: Richard Hodges <rh@matriplex.com>
This commit is contained in:
parent
7908a1d477
commit
b88dc3353a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112632
@ -92,7 +92,15 @@ __RCSID("@(#) $FreeBSD$");
|
|||||||
#define ASN_IPADDR 0x40
|
#define ASN_IPADDR 0x40
|
||||||
#define ASN_TIMESTAMP 0x43
|
#define ASN_TIMESTAMP 0x43
|
||||||
|
|
||||||
static char *Var_Types[] = { "", "", "ASN_INTEGER", "", "ASN_OCTET", "ASN_NULL", "ASN_OBJID" };
|
static char *Var_Types[] = {
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"ASN_INTEGER",
|
||||||
|
"",
|
||||||
|
"ASN_OCTET",
|
||||||
|
"ASN_NULL",
|
||||||
|
"ASN_OBJID"
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define SNMP PDU types
|
* Define SNMP PDU types
|
||||||
@ -103,8 +111,15 @@ static char *Var_Types[] = { "", "", "ASN_INTEGER", "", "ASN_OCTET", "ASN_NULL",
|
|||||||
#define PDU_TYPE_SET 0xA3
|
#define PDU_TYPE_SET 0xA3
|
||||||
#define PDU_TYPE_TRAP 0xA4
|
#define PDU_TYPE_TRAP 0xA4
|
||||||
|
|
||||||
static char *PDU_Types[] = { "GET REQUEST", "GETNEXT REQUEST", "GET RESPONSE", "SET REQUEST",
|
static char *PDU_Types[] = {
|
||||||
"TRAP" };
|
"GET REQUEST",
|
||||||
|
"GETNEXT REQUEST",
|
||||||
|
"GET RESPONSE",
|
||||||
|
"SET REQUEST",
|
||||||
|
"TRAP",
|
||||||
|
" ?? ",
|
||||||
|
" ??? "
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define TRAP codes
|
* Define TRAP codes
|
||||||
|
Loading…
Reference in New Issue
Block a user