Date: Mon, 27 Feb 2006 03:31:59 +0900 (JST) From: Yoshihiko Sarumaru <mistral@imasy.or.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: harti@FreeBSD.org Subject: docs/93871: OIDX_name is missing in gensnmptree(1) Message-ID: <200602261831.k1QIVxCb002501@shimako.yamayuri.org> Resent-Message-ID: <200602261840.k1QIe217088572@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602261831.k1QIVxCb002501>