Bug 93871 - OIDX_name is missing in gensnmptree(1)
Summary: OIDX_name is missing in gensnmptree(1)
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-26 18:40 UTC by Yoshihiko Sarumaru
Modified: 2006-02-27 09:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yoshihiko Sarumaru 2006-02-26 18:40:02 UTC
(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?

Fix: 

I'm not sure
How-To-Repeat: 	man 1 gensnmptree
Comment 1 Hartmut Brandt freebsd_committer freebsd_triage 2006-02-27 09:35:49 UTC
State Changed
From-To: open->closed

Fixed. Thanks. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=93871 

Adding to audit trail from misfiled PR docs/93894:

Date: Mon, 27 Feb 2006 10:33:38 +0100 (CET)