docs/93871: OIDX_name is missing in gensnmptree(1)

Yoshihiko Sarumaru mistral at imasy.or.jp
Sun Feb 26 18:40:03 UTC 2006


>Number:         93871
>Category:       docs
>Synopsis:       OIDX_name is missing in gensnmptree(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 26 18:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Feb 24 00:52:39 JST 2006 sarumaru at shimako.yamayuri.org:/usr/obj/usr/src/sys/VGN-T72 i386


	
>Description:
(1)
"One define OID_name can be used as an array initialized to
initialize a struct asn_oid."

I couldn't understand the meaning of "initialized". Is it a typo
of initializer ?

(2)
`gensnmptree -e sysName' generates following these 3 lines:
#define OID_sysName     5
#define OIDLEN_sysName  8
#define OIDX_sysName    { 8, { 1, 3, 6, 1, 2, 1, 1, 5, } }

By the way, the sentense

| One define OID_name can be used as an array initialized to
| initialize a struct asn_oid.

seems telling about not OID_name, but OIDX_name. Am I miss
understanding something? 

Also in the sentence:

| It reads a MIB specification from standard input and for each
| MIB variable name emits two C pre-processor defines on its
| standard output.

this may means gensnmptree prints 2 lines, but it generates 3
lines actually. Is it correct?
	
>How-To-Repeat:
	man 1 gensnmptree
>Fix:
	I'm not sure
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list