From owner-freebsd-doc@FreeBSD.ORG Sun Feb 26 18:40:03 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B634D16A426 for ; Sun, 26 Feb 2006 18:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2743F43D46 for ; Sun, 26 Feb 2006 18:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1QIe31L088573 for ; Sun, 26 Feb 2006 18:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1QIe217088572; Sun, 26 Feb 2006 18:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 26 Feb 2006 18:40:02 GMT Resent-Message-Id: <200602261840.k1QIe217088572@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yoshihiko Sarumaru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B528816A420; Sun, 26 Feb 2006 18:31:59 +0000 (GMT) (envelope-from mistral@imasy.or.jp) Received: from shimako.yamayuri.org (yumi.yamayuri.org [218.45.22.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43EE143D58; Sun, 26 Feb 2006 18:31:59 +0000 (GMT) (envelope-from mistral@imasy.or.jp) Received: from shimako.yamayuri.org (localhost [127.0.0.1]) by shimako.yamayuri.org (8.13.4/8.13.4/shimako) with ESMTP id k1QIVxi6002502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Feb 2006 03:32:00 +0900 (JST) (envelope-from mistral@imasy.or.jp) Received: (from sarumaru@localhost) by shimako.yamayuri.org (8.13.4/8.13.4/Submit) id k1QIVxCb002501; Mon, 27 Feb 2006 03:31:59 +0900 (JST) (envelope-from sarumaru) Message-Id: <200602261831.k1QIVxCb002501@shimako.yamayuri.org> Date: Mon, 27 Feb 2006 03:31:59 +0900 (JST) From: Yoshihiko Sarumaru To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: harti@FreeBSD.org Subject: docs/93871: OIDX_name is missing in gensnmptree(1) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yoshihiko Sarumaru List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 18:40:03 -0000 >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: