Re: Change in behaviour between scotty 2.0.2 and 2.1.3?

Michele Chen (michele@pqtech.com)
Thu, 3 Oct 96 08:21:46 PDT

> michele@pqtech.com (Michele Chen) said:
>
> Michele> However, my application is now failing due to changes
> Michele> in behaviour between the two versions. I tend to call
> Michele> this a bug, since the previous behaviour seems to be
> Michele> correct, but perhaps there were good reasons for the
> Michele> change.
>
> Michele> Anyway, under 2.0.2, 'mib syntax system' returns
> Michele> 'OBJECT IDENTIFIER'. Under 2.1.3, it returns ''. I
> Michele> favor the former, as that is the syntax defined in the
> Michele> mib.
>
> Lets see how RFC 1213 defines system:
>
> system OBJECT IDENTIFIER ::= { mib-2 1 }
>
> This is a ASN.1 value assignement of type OBJECT IDENTIFIER. However,
> the SYNTAX clause of an OBJECT-TYPE macro "defines the abstract data
> structure corresponding to that object" (RFC 1902, section 7.1). So
> these two things are very different - in fact, the assignement above
> does not define a syntax at all. The description of the "mib syntax"
> command in the mib(n) man page says that
>
> The mib syntax command returns the ASN.1 syntax associ-
> ated with a MIB node or an empty string if the node
> identified by label has no associated ASN.1 syntax.
>
> I think this is consistent. Returning the type of the value
> assignement if the MIB node does not have an associated syntax is IMHO
> a bug since it mixes up two different things. Does this convince?
>
> Juergen

So if I understand you correctly, 2.1.3 fixed a bug that existed in earlier
versions. I don't have a problem with this in general, but I would like a
pointer to a list of bugs that have been fixed with the latest releases. I
haven't been able to find one, after looking in the 2.1.3 distribution and in
the FAQ.

Thanks again,

Michele

===============================================================
Michele Chen PQ Technologies, Inc.
michele@pqtech.com (formerly Technology by Design)
WWW: http://www.pqtech.com 3300 Blue Ridge Court
Voice: (805) 497-9321 Thousand Oaks, CA 91362
FAX: (805) 497-9331